Runtime error when trying to duplicate space

#5
by Planetes - opened

I tried to duplicate it but get this error when starting the space, I don't know if it can be fixed but just for awareness-

runtime error
Exit code: 1. Reason: Traceback (most recent call last):
File "/home/user/app/app.py", line 9, in
import utils
File "/home/user/app/utils.py", line 11, in
from diffusers import (
File "/home/user/.pyenv/versions/3.10.15/lib/python3.10/site-packages/diffusers/init.py", line 5, in
from .utils import (
File "/home/user/.pyenv/versions/3.10.15/lib/python3.10/site-packages/diffusers/utils/init.py", line 38, in
from .dynamic_modules_utils import get_class_from_dynamic_module
File "/home/user/.pyenv/versions/3.10.15/lib/python3.10/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' (/home/user/.pyenv/versions/3.10.15/lib/python3.10/site-packages/huggingface_hub/init.py)

Sign up or log in to comment