Update speech_processor.py
parent
7e995ec414
commit
96f241f0ad
|
@ -15,7 +15,7 @@ recognizer_lock = Lock()
|
|||
|
||||
def initialize_vosk():
|
||||
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):
|
||||
return {"success": False, "error": "Model not found"}
|
||||
|
|
Loading…
Reference in New Issue