Skip to content

Error while loading Diffusion Pipeline #180

@GiambaDS86

Description

@GiambaDS86

ImportError: cannot import name 'cached_download' from 'huggingface_hub' (/usr/local/lib/python3.10/dist-packages/huggingface_hub/init.py).

ImportError Traceback (most recent call last)
in <cell line: 2>()
1 #@title Imports
----> 2 from diffusers.pipeline_utils import DiffusionPipeline
3 from riffusion.spectrogram_image_converter import SpectrogramImageConverter
4 from riffusion.spectrogram_params import SpectrogramParams
5 from io import BytesIO

2 frames
/usr/local/lib/python3.10/dist-packages/diffusers/dynamic_modules_utils.py in
24 from typing import Dict, Optional, Union
25
---> 26 from huggingface_hub import HfFolder, cached_download, hf_hub_download, model_info
27
28 from .utils import DIFFUSERS_DYNAMIC_MODULE_NAME, HF_MODULES_CACHE, logging

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions