mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-02-18 05:42:48 -08:00
load_file_from_url() downloads the model from HF_ENDPOINT if it is set
This commit is contained in:
parent
374bb6cc38
commit
8a09e9f209
6 changed files with 11 additions and 10 deletions
|
|
@ -91,4 +91,4 @@ refresh_checkpoints = shared_items.refresh_checkpoints
|
|||
list_samplers = shared_items.list_samplers
|
||||
reload_hypernetworks = shared_items.reload_hypernetworks
|
||||
|
||||
hf_endpoint = os.getenv('HF_ENDPOINT', 'https://huggingface.co')
|
||||
hf_endpoint = os.getenv('HF_ENDPOINT', 'https://huggingface.co').rstrip('/')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue