alphacep / vosk-api

Offline speech recognition API for Android, iOS, Raspberry Pi and servers with Python, Java, C# and Node
Apache License 2.0
7.37k stars 1.04k forks source link

Exception: Failed to create a model #1478

Closed EvilGeorgee closed 6 months ago

EvilGeorgee commented 6 months ago

Having this issue, (model folder is unpacked), I've tried different models, always the same error What might be the problem? image

nshmyrev commented 6 months ago

You specify wrong path to the model. If you are not sure about relative model path, use absolute model path. Also read the log output above the exception, it contains hints.

EvilGeorgee commented 6 months ago

Specifying an absolute path helped, thank you :)