cli.py not working
Hi, thank you for the project. I deployed it locally in docker container. The web interface provided by app.py works fine. But I cannot use cli.py, because of the following error:
root@cf6e829880ce:/opt/whisper-webui# python3 cli.py --task transcribe --model large-v3 /tmp/whisper-webui/input/test.wav
Traceback (most recent call last):
File "/opt/whisper-webui/cli.py", line 206, in
cli()
File "/opt/whisper-webui/cli.py", line 20, in cli
whisper_models = app_config.get_model_names()
TypeError: ApplicationConfig.get_model_names() missing 1 required positional argument: 'name'
I get this error all the time, no matter on what arguments are used, even without any arguments used. It's weird. Seems something wrong in the code.
Any idea how to solve this?
I just tried cli.py from original https://gitlab.com/aadnk/whisper-webui in the same container and it works.
Could you please have a look at this? I would like use your modified whisper-webui. Thx.