Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'Backend' error in command prompt #209

Closed
Farooq87 opened this issue May 9, 2024 · 4 comments
Closed

'Backend' error in command prompt #209

Farooq87 opened this issue May 9, 2024 · 4 comments

Comments

@Farooq87
Copy link

Farooq87 commented May 9, 2024

c:>python run_server.py --port 9090 --backend faster_whisper
Traceback (most recent call last):
File "c:\run_server.py", line 31, in
server.run(
TypeError: TranscriptionServer.run() got an unexpected keyword argument 'backend'

Any solutions?

@makaveli10
Copy link
Collaborator

@Farooq87 That shouldn't happen if you are on the latest version. Can you try upgrading whisper-live and test if it resolves the issue. Because, I see that we have a backend command-line arg in run_server.py:

backend=args.backend,

@Farooq87
Copy link
Author

@Farooq87 That shouldn't happen if you are on the latest version. Can you try upgrading whisper-live and test if it resolves the issue. Because, I see that we have a backend command-line arg in run_server.py:

backend=args.backend,

I updated Faster Whisper, but still have the same error
11111

@makaveli10
Copy link
Collaborator

@Farooq87 Instead of faster-whisper, you need to check that you run latest version of whisper-live.

pip install --upgrade whisper-live

@makaveli10
Copy link
Collaborator

@Farooq87 just tested with latest version of whisper-live:

$ python run_server.py --port 9090 --backend faster_whisper
INFO:websockets.server:connection open
INFO:root:New client connected
INFO:root:Running faster_whisper backend.
INFO:faster_whisper:Processing audio with duration 00:01.024
INFO:faster_whisper:VAD filter removed 00:00.000 of audio
.
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants