tqdm.write() got an unexpected keyword argument 'desc' #230

Open
opened 2023-05-05 03:53:41 +00:00 by Acephalia · 7 comments

Hey guys,

I tried to install whisperx and it all went to hell. Tried to reinstall and force update multiple times but when trying to prepare the dataset I keep getting this godforsaken error tqdm.write() got an unexpected keyword argument 'desc'

I've tried to uninstall tqdm and force a re-install as well. Such an annoyance eugh.

Any help would be greatly appreciated.

Thank you!

Hey guys, I tried to install whisperx and it all went to hell. Tried to reinstall and force update multiple times but when trying to prepare the dataset I keep getting this godforsaken error `tqdm.write() got an unexpected keyword argument 'desc'` I've tried to uninstall tqdm and force a re-install as well. Such an annoyance eugh. Any help would be greatly appreciated. Thank you!

I have this problem in google colab as well.

I have this problem in google colab as well.

Can you run whisperx from the command line?

Can you run `whisperx` from the command line?

I don't know much about programming but my quick workaround was to delete all track_tqdm=True entries from src\utils.py

After that it let me transcribe files.

It led to another errors with the same fix.

I don't know much about programming but my quick workaround was to delete all `track_tqdm=True `entries from `src\utils.py` After that it let me transcribe files. It led to another errors with the same fix.
Owner

Forgot to mention, should be fixed in commit e416b0fe6f.

Apologies, I'm not sure why/how it worked in my install.

Forgot to mention, should be fixed in commit e416b0fe6f186f8d6e69c79664d996361b5fdfb8. Apologies, I'm not sure why/how it worked in my install.
Author

Forgot to mention, should be fixed in commit e416b0fe6f.

Apologies, I'm not sure why/how it worked in my install.

@mrq, apology hardly needed, and thank you for the quick fix. Reinstalled and all fixed up now.
(Whisperx is still a @!$#@ you weren't kidding when you said it was a headache. Keep getting (AttributeError: module 'whisperx' has no attribute 'load_model') I've just gone back to whisper for now.

Thanks for all your amazing work as always!

> Forgot to mention, should be fixed in commit e416b0fe6f186f8d6e69c79664d996361b5fdfb8. > > Apologies, I'm not sure why/how it worked in my install. @mrq, apology hardly needed, and thank you for the quick fix. Reinstalled and all fixed up now. (Whisperx is still a @!$#@ you weren't kidding when you said it was a headache. Keep getting (AttributeError: module 'whisperx' has no attribute 'load_model') I've just gone back to whisper for now. Thanks for all your amazing work as always!
Owner

AttributeError: module 'whisperx' has no attribute 'load_model'

Oh, it seems that also affects the master branch and not just the v3 one. I'll try and push a fix that doesn't outright break things between people with older copies of whisperX and new copies of it.

> AttributeError: module 'whisperx' has no attribute 'load_model' Oh, it seems that also affects the master branch and not just the `v3` one. I'll try and push a fix that doesn't outright break things between people with older copies of whisperX and new copies of it.
Author

AttributeError: module 'whisperx' has no attribute 'load_model'

Oh, it seems that also affects the master branch and not just the v3 one. I'll try and push a fix that doesn't outright break things between people with older copies of whisperX and new copies of it.

You are just awesome!

But for some reason the HF token in exec.json keeps getting overridden to null every time I run the transcribe process now. Should I just give up?

Edit ignore me I'm dumb. Forgot to wrap the token in ""

> > AttributeError: module 'whisperx' has no attribute 'load_model' > > Oh, it seems that also affects the master branch and not just the `v3` one. I'll try and push a fix that doesn't outright break things between people with older copies of whisperX and new copies of it. You are just awesome! ~~But for some reason the HF token in exec.json keeps getting overridden to null every time I run the transcribe process now. Should I just give up?~~ Edit ignore me I'm dumb. Forgot to wrap the token in ""
Sign in to join this conversation.
No Milestone
No project
No Assignees
5 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: mrq/ai-voice-cloning#230
No description provided.