[voskstt] Update the description of the preloadModel parameter (#12749)

* [voskstt] Update the description of the preloadModel parameter

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
This commit is contained in:
lolodomo 2022-05-16 19:16:23 +02:00 committed by GitHub
parent b99d98b03d
commit 5eaddd1af1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 4 deletions

View File

@ -31,9 +31,10 @@
</parameter> </parameter>
<parameter name="preloadModel" type="boolean" groupName="stt"> <parameter name="preloadModel" type="boolean" groupName="stt">
<label>Preload Model</label> <label>Preload Model</label>
<description>Keep language model loaded. If true model is just reload the model on config updates, if not model will <description>Keep the language model loaded. If the parameter is set to true, the model will be reloaded only on
be loaded and offloaded on each execution. It will fallback to try to load the model when executed if it was not configuration updates. If the model is not loaded when needed, the service will try to load it. If the parameter is
able to load it before.</description> set to false, the model will be loaded and unloaded on each run.
</description>
<default>false</default> <default>false</default>
</parameter> </parameter>
<parameter name="noResultsMessage" type="text" groupName="messages"> <parameter name="noResultsMessage" type="text" groupName="messages">

View File

@ -11,7 +11,7 @@ voice.config.voskstt.maxTranscriptionSeconds.description = Max seconds to wait t
voice.config.voskstt.noResultsMessage.label = No Results Message voice.config.voskstt.noResultsMessage.label = No Results Message
voice.config.voskstt.noResultsMessage.description = Message to be told when no results. voice.config.voskstt.noResultsMessage.description = Message to be told when no results.
voice.config.voskstt.preloadModel.label = Preload Model voice.config.voskstt.preloadModel.label = Preload Model
voice.config.voskstt.preloadModel.description = Keep language model loaded. If true model is just reload the model on config updates, if not model will be loaded and offloaded on each execution. It will fallback to try to load the model when executed if it was not able to load it before. voice.config.voskstt.preloadModel.description = Keep the language model loaded. If the parameter is set to true, the model will be reloaded only on configuration updates. If the model is not loaded when needed, the service will try to load it. If the parameter is set to false, the model will be loaded and unloaded on each run.
voice.config.voskstt.singleUtteranceMode.label = Single Utterance Mode voice.config.voskstt.singleUtteranceMode.label = Single Utterance Mode
voice.config.voskstt.singleUtteranceMode.description = When enabled recognition stops listening after a single utterance. voice.config.voskstt.singleUtteranceMode.description = When enabled recognition stops listening after a single utterance.