You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The CharacterGen workflows all fail with this error: TypeError: _get_model_file() got an unexpected keyword argument 'resume_download'
resume_download was depreciated, and finally removed, from huggingface_hub. It now auto resumes without prompting. resume_download needs to be removed from the each of the CharacterGen python scripts for it to work again.
Search this commit for resume_download and you can see it was removed globally.
A simple workaround is to find every instance of the _get_model_file() function call and remove resume_download. This worked in my own tests, but is not complete.
The text was updated successfully, but these errors were encountered:
GabrielR
changed the title
BUG: resume_download depreciated and removed from Huggingface_Hub. Need to be removed from CharacterGen scripts
BUG: resume_download depreciated and removed from Huggingface_Hub. Needs to be removed from CharacterGen scripts
Feb 19, 2025
The CharacterGen workflows all fail with this error:
TypeError: _get_model_file() got an unexpected keyword argument 'resume_download'
resume_download was depreciated, and finally removed, from huggingface_hub. It now auto resumes without prompting. resume_download needs to be removed from the each of the CharacterGen python scripts for it to work again.
This is the commit where resume_download was removed:
huggingface/huggingface_hub@4df59b4
Search this commit for resume_download and you can see it was removed globally.
A simple workaround is to find every instance of the _get_model_file() function call and remove resume_download. This worked in my own tests, but is not complete.
The text was updated successfully, but these errors were encountered: