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 when run python app.py #186

Open
omidud opened this issue Dec 31, 2024 · 2 comments
Open

Error when run python app.py #186

omidud opened this issue Dec 31, 2024 · 2 comments

Comments

@omidud
Copy link

omidud commented Dec 31, 2024

I follow the instructions using anaconda
everything look good but
when i run python app.py

(pulid) C:\lipsync\PuLID>python app.py
Traceback (most recent call last):
File "C:\lipsync\PuLID\app.py", line 6, in
from pulid.pipeline import PuLIDPipeline
File "C:\lipsync\PuLID\pulid\pipeline.py", line 7, in
from diffusers import (
File "C:\Users\omidu.conda\envs\pulid\lib\site-packages\diffusers_init_.py", line 5, in
from .utils import (
File "C:\Users\omidu.conda\envs\pulid\lib\site-packages\diffusers\utils_init_.py", line 37, in
from .dynamic_modules_utils import get_class_from_dynamic_module
File "C:\Users\omidu.conda\envs\pulid\lib\site-packages\diffusers\utils\dynamic_modules_utils.py", line 28, in
from huggingface_hub import cached_download, hf_hub_download, model_info
ImportError: cannot import name 'cached_download' from 'huggingface_hub' (C:\Users\omidu.conda\envs\pulid\lib\site-packages\huggingface_hub_init_.py)

@firofame
Copy link

firofame commented Jan 2, 2025

same error

cannot import name 'cached_download' from 'huggingface_hub'

@AFMSB
Copy link

AFMSB commented Jan 20, 2025

change your requirements from this:

diffusers==0.25.0

to this:

diffusers>=0.29.0

and it should be fixed

same error

cannot import name 'cached_download' from 'huggingface_hub'

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

3 participants