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

cannot import name 'cached_download' from 'huggingface_hub' #123

Open
myGitToy opened this issue Nov 4, 2024 · 4 comments
Open

cannot import name 'cached_download' from 'huggingface_hub' #123

myGitToy opened this issue Nov 4, 2024 · 4 comments

Comments

@myGitToy
Copy link

myGitToy commented Nov 4, 2024

it seems like hugging face changed something, using pip install huggingface_hub==0.25.2 to downgrade

@ChantMyZeal
Copy link

maybe you can try: pip install --upgrade diffusers

@ska1296
Copy link

ska1296 commented Nov 17, 2024

thanks! this worked for me for the same error

@bamit99
Copy link

bamit99 commented Nov 27, 2024

I am getting a JSON error when I try and type anything and click on Generate. Did you face any issues like that?

@ska1296
Copy link

ska1296 commented Nov 27, 2024

I am getting a JSON error when I try and type anything and click on Generate. Did you face any issues like that?

I did. I changed my gradio version to 4.43.0. That fixed the error.

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

No branches or pull requests

4 participants