alphacep / vosk-api

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

Circular import error.. #1260

Closed danger-3003 closed 1 year ago

danger-3003 commented 1 year ago

When I'm running the code, it is giving a circular import error. And when I fix that error it again giving an error that no method named "Model" in module "vosk"

nshmyrev commented 1 year ago

It is probably about wrong file name. You should not name your local files "vosk".

nshmyrev commented 1 year ago

And you need to provide more details if you need help (file and module layout, code sample and so on).

danger-3003 commented 1 year ago

It is probably about wrong file name. You should not name your local files "vosk".

Sir, this method actually worked. Thank you 😊.

nshmyrev commented 1 year ago

Ok, it is same as #273