lllyasviel / IC-Light

More relighting!
Apache License 2.0
5.32k stars 358 forks source link

Traceback (most recent call last): #101

Open lior007 opened 4 days ago

lior007 commented 4 days ago

Traceback (most recent call last): File "D:\GITHUB\IC-Light\gradio_demo.py", line 10, in from diffusers import StableDiffusionPipeline, StableDiffusionImg2ImgPipeline File "C:\Users\LIOR0\miniconda3\envs\iclight\lib\site-packages\diffusers__init.py", line 5, in from .utils import ( File "C:\Users\LIOR0\miniconda3\envs\iclight\lib\site-packages\diffusers\utils\init.py", line 38, in from .dynamic_modules_utils import get_class_from_dynamic_module File "C:\Users\LIOR0\miniconda3\envs\iclight\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\LIOR0\miniconda3\envs\iclight\lib\site-packages\huggingface_hub\init__.py)

lior007 commented 4 days ago

i fix it by: pip install --upgrade torch transformers diffusers huggingface_hub