Commands/voices multilanguage support + Ukranian vosk model added

This commit is contained in:
Priler 2026-01-13 02:21:59 +05:00
parent 64eb1093d5
commit c9b9482cc8
67 changed files with 214473 additions and 293 deletions

View file

@ -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]