vosk model selection in GUI
This commit is contained in:
parent
36acacf259
commit
cab53abcbe
14 changed files with 323 additions and 40 deletions
|
|
@ -14,6 +14,8 @@ pub struct Settings {
|
|||
pub intent_recognition_engine: IntentRecognitionEngine,
|
||||
pub speech_to_text_engine: SpeechToTextEngine,
|
||||
|
||||
pub vosk_model: String,
|
||||
|
||||
pub api_keys: ApiKeys,
|
||||
}
|
||||
|
||||
|
|
@ -27,6 +29,8 @@ impl Default for Settings {
|
|||
intent_recognition_engine: config::DEFAULT_INTENT_RECOGNITION_ENGINE,
|
||||
speech_to_text_engine: config::DEFAULT_SPEECH_TO_TEXT_ENGINE,
|
||||
|
||||
vosk_model: String::from(""), // auto detect first available
|
||||
|
||||
api_keys: ApiKeys {
|
||||
picovoice: String::from(""),
|
||||
openai: String::from(""),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue