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

运行python gradio_app.py时报错 #124

Open
HazeBlue opened this issue Nov 14, 2024 · 2 comments
Open

运行python gradio_app.py时报错 #124

HazeBlue opened this issue Nov 14, 2024 · 2 comments

Comments

@HazeBlue
Copy link

Traceback (most recent call last):
File "H:\Omost\gradio_app.py", line 26, in
from diffusers import AutoencoderKL, UNet2DConditionModel
File "H:\conda\envs\omost\lib\site-packages\diffusers_init_.py", line 5, in
from .utils import (
File "H:\conda\envs\omost\lib\site-packages\diffusers\utils_init_.py", line 38, in
from .dynamic_modules_utils import get_class_from_dynamic_module
File "H:\conda\envs\omost\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' (H:\conda\envs\omost\lib\site-packages\huggingface_hub_init_.py)
这个是啥问题
雾霾蓝先生_2024-11-14_18-17-34

@ChantMyZeal
Copy link

maybe you can try: pip install --upgrade diffusers

@HazeBlue
Copy link
Author

maybe you can try: pip install --upgrade diffusers
雾霾蓝先生_2024-11-20_23-21-43

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

2 participants