Check the network environment. If you cannot access huggingf…

Check the network environment. If you cannot access huggingface.co normally in China, try modifying the huggingface_hub package to force the use hf_mirror.
检查网络环境。如果你在中国无法访问 huggingface.co 正常,可以尝试修改 huggingface_hub 包以强制使用 hf_mirror。

  • huggingface_hub package 的目录下找到 constants.py(通常在 comfyui/python/Lib/site-packages/huggingface_hub/constants.py  虚拟环境路径下),在 import os 后添加一行

    os.environ['HF_ENDPOINT'] = 'https://hf-mirror.com'
0 条回复 A文章作者 M管理员
    暂无讨论,说说你的看法吧
个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索