Paint3D icon indicating copy to clipboard operation
Paint3D copied to clipboard

ImportError: cannot import name 'cached_download' from 'huggingface_hub'

Open ChlaegerIO opened this issue 10 months ago • 0 comments

When running python pipeline_paint3d_stage1.py with arguments like in the readme. I had a problem with from diffusers import StableDiffusionControlNetPipeline, ControlNetModel in file controlnet\diffusers_cnet_txt2img.py.

from huggingface_hub import cached_download, hf_hub_download, model_info
ImportError: cannot import name 'cached_download' from 'huggingface_hub'

The solution was to just delete cached_download as written here: https://github.com/easydiffusion/easydiffusion/issues/1851#issuecomment-2425265522

ChlaegerIO avatar Feb 25 '25 11:02 ChlaegerIO