README typo fixes & some little changes
This commit is contained in:
parent
488f5c0786
commit
8dc6efd81a
13 changed files with 120 additions and 9 deletions
|
|
@ -43,7 +43,7 @@ pub const VOSK_MODEL_PATH: &str = "vosk/model_small";
|
|||
pub const VOSK_MIN_RATIO: f64 = 70.0;
|
||||
|
||||
// ETC
|
||||
pub const CMD_RATIO_THRESHOLD: f64 = 60f64;
|
||||
pub const CMD_RATIO_THRESHOLD: f64 = 65f64;
|
||||
pub const CMS_WAIT_DELAY: std::time::Duration = std::time::Duration::from_secs(15);
|
||||
|
||||
pub const ASSISTANT_GREET_PHRASES: [&str; 3] = ["greet1", "greet2", "greet3"];
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ fn get_wake_word_engine() -> config::WakeWordEngine {
|
|||
"rustpotter" => selected_wake_word_engine = config::WakeWordEngine::Rustpotter,
|
||||
"vosk" => selected_wake_word_engine = config::WakeWordEngine::Vosk,
|
||||
"picovoice" => selected_wake_word_engine = config::WakeWordEngine::Porcupine,
|
||||
&_ => todo!()
|
||||
_ => selected_wake_word_engine = config::DEFAULT_WAKE_WORD_ENGINE
|
||||
}
|
||||
} else {
|
||||
// default
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue