huchenlei / sd-forge-ic-light

A1111/SD Forge extension for IC-Light
Apache License 2.0
196 stars 7 forks source link

Unable to connect to Huggingface_hub #1

Closed franxis11088 closed 6 months ago

franxis11088 commented 6 months ago

I found in briarmbg.py that "from huggingface_hub import PyTorchModelHubMixin" If my internet has no access to huggingface, this extension will not work, it ends up with "(MaxRetryError("HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /briaai/RMBG-1.4/resolve/main/pytorch_model.bin (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at " 0x000001C3C5EA4D00>, 'Connection to huggingface.co timed out. (connect timeout=10)'))"), '(Request ID: 6cf320fa-36f8-4ee6-965b-260e6083ffb9)') Any solutions to this problem, should I use VPN? Or could you replace this with a Chinese mirror of huggingface?

franxis11088 commented 6 months ago

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.