Update speech_processor.py

c3
Kar 2025-06-05 14:23:30 +00:00
parent 7e995ec414
commit 96f241f0ad
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ recognizer_lock = Lock()
def initialize_vosk(): def initialize_vosk():
global recognizer global recognizer
model_path = "vosk-model" # Update this path to your model model_path = "vosk-model-small-en-us-0.15" # Update this path to your model
if not os.path.exists(model_path): if not os.path.exists(model_path):
return {"success": False, "error": "Model not found"} return {"success": False, "error": "Model not found"}