StoryDiffusion icon indicating copy to clipboard operation
StoryDiffusion copied to clipboard

已 vpn 科学上网

Open jurimengs opened this issue 1 year ago • 4 comments

python gradio_app_sdxl_specific_id_low_vram.py

Traceback (most recent call last): File "D:\jurim\codes\github\story-diffusion\gradio_app_sdxl_specific_id_low_vram.py", line 45, in photomaker_path = hf_hub_download(repo_id="TencentARC/PhotoMaker", filename="photomaker-v1.bin", repo_type="model") File "D:\jurim\ProgramData\anaconda3\envs\storydiffusion\lib\site-packages\huggingface_hub\utils_validators.py", line 118, in _inner_fn return fn(*args, **kwargs) File "D:\jurim\ProgramData\anaconda3\envs\storydiffusion\lib\site-packages\huggingface_hub\file_download.py", line 1371, in hf_hub_download raise LocalEntryNotFoundError( huggingface_hub.utils._errors.LocalEntryNotFoundError: An error happened while trying to locate the file on the Hub and we cannot find the requested files in the local cache. Please check your connection and try again or make sure your Internet connection is on.

jurimengs avatar Jun 20 '24 09:06 jurimengs

代码里加这个 os.environ["HF_ENDPOINT"] = "https://hf-mirror.com" 就OK了

KhunLounZai avatar Aug 10 '24 15:08 KhunLounZai

代码里加这个 os.environ["HF_ENDPOINT"] = "https://hf-mirror.com" 就OK了 兄弟,指点一下,是把这个代码加到下面这个文件里面吗?

**“***lib\site-packages\huggingface_hub\file_download.py”

JimWang151 avatar Sep 01 '24 10:09 JimWang151

就要运行文件里gradio_app_sdxl_specific_id_low_vram.py

KhunLounZai avatar Sep 02 '24 14:09 KhunLounZai

gradio_app_sdxl_specific_id_low_vram.py

谢谢。

JimWang151 avatar Sep 03 '24 06:09 JimWang151