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

Error transcribing file: DecodingOptions.__init__() got an unexpected keyword argument 'progress_callback' #66

Open
AnatoliChe opened this issue Nov 22, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@AnatoliChe
Copy link

Hi!
I have error:
Error transcribing file: DecodingOptions.init() got an unexpected keyword argument 'progress_callback'
when use --disable_faster_whisper=true with all models.

Without --disable_faster_whisper=true it works.

Debian 12.2

@jhj0517 jhj0517 added the bug Something isn't working label Nov 26, 2023
@jhj0517
Copy link
Owner

jhj0517 commented Nov 26, 2023

I have not been able to reproduce the error with Windows 10. it seems like a bug with Debians, probably.

@shuiqingliu
Copy link

shuiqingliu commented Feb 27, 2024

I'm having the same problem when using the -disable_faster_whisper=true command while installing Whisper from the official repository. It's necessary to install Whisper from @jhj0517's repository instead.

@jhj0517
Copy link
Owner

jhj0517 commented Feb 28, 2024

You're right. Installing the official whisper will be problematic and I don't think this is good either..
All I did was adding a callback to trabscribe() to track the progress in the Gradio UI.
I was hoping that the official Whisper would provide a generator for this as I made a PR here, but it appears not to.
Perhaps just removing the progress tracking would be proper.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants