diff --git a/config/processor_tools.json b/config/processor_tools.json index 503e784d..3250492b 100644 --- a/config/processor_tools.json +++ b/config/processor_tools.json @@ -61,8 +61,15 @@ "priority": 0, "enabled": true, "parameters": { - "model": "large-v3" + "model": "large-v3", + "model_dir": "/Users/accusys/models/whisper-small-mlx" } + }, + { + "name": "rust", + "priority": 1, + "enabled": false, + "parameters": {} } ], "default_tool": "whisper", diff --git a/src/core/processor/tool_selector.rs b/src/core/processor/tool_selector.rs index 61d5dbbe..1b1286a3 100644 --- a/src/core/processor/tool_selector.rs +++ b/src/core/processor/tool_selector.rs @@ -100,8 +100,12 @@ impl ToolSelector { // ASR processor tools ("asr", "whisper") => { - let script = executor.script_path("asr_processor.py"); - if script.exists() { Some(script) } else { None } + let whisper_cli = std::path::Path::new("/opt/homebrew/bin/whisper"); + if whisper_cli.exists() { Some(whisper_cli.to_path_buf()) } else { None } + } + ("asr", "rust") => { + // Future: Rust ASR implementation + executor.rust_binary_path("rust_asr") } // OCR processor tools