-
Notifications
You must be signed in to change notification settings - Fork 66
Description
the diffusers library tries to use a function (cached_download) from huggingface_hub that no longer exists in the installed version of huggingface_hub. (is it just me? how can i fix this)
tried to run it:
(foleycrafter) l@lin-MacBook-Air-2 FoleyCrafter % pip check
No broken requirements found.
(foleycrafter) l@lin-MacBook-Air-2 FoleyCrafter % python app.py
Traceback (most recent call last):
File "/Users/lin/Desktop/FoleyCrafter/app.py", line 15, in
from diffusers import DDIMScheduler, EulerDiscreteScheduler, PNDMScheduler
File "/Volumes/T7/opt/miniconda3/envs/foleycrafter/lib/python3.10/site-packages/diffusers/init.py", line 5, in
from .utils import (
File "/Volumes/T7/opt/miniconda3/envs/foleycrafter/lib/python3.10/site-packages/diffusers/utils/init.py", line 36, in
from .dynamic_modules_utils import get_class_from_dynamic_module
File "/Volumes/T7/opt/miniconda3/envs/foleycrafter/lib/python3.10/site-packages/diffusers/utils/dynamic_modules_utils.py", line 28, in
from huggingface_hub import HfFolder, cached_download, hf_hub_download, model_info
ImportError: cannot import name 'cached_download' from 'huggingface_hub' (/Volumes/T7/opt/miniconda3/envs/foleycrafter/lib/python3.10/site-packages/huggingface_hub/init.py)
(foleycrafter) lin@lin-MacBook-Air-2 FoleyCrafter %
: