Commands/voices multilanguage support + Ukranian vosk model added
This commit is contained in:
parent
e2370dc046
commit
11c2500d9c
67 changed files with 214473 additions and 293 deletions
|
|
@ -2,12 +2,12 @@ use jarvis_core::voices::{self, structs::VoiceConfig};
|
|||
|
||||
#[tauri::command]
|
||||
pub fn list_voices() -> Vec<VoiceConfig> {
|
||||
voices::list_voices()
|
||||
voices::list_voices().to_vec()
|
||||
}
|
||||
|
||||
#[tauri::command]
|
||||
pub fn get_voice(voice_id: String) -> Option<VoiceConfig> {
|
||||
voices::get_voice(&voice_id)
|
||||
voices::get_voice(&voice_id).cloned()
|
||||
}
|
||||
|
||||
#[tauri::command]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue