ai-dock / stable-diffusion-webui

AUTOMATIC1111 (A1111) Stable Diffusion Web UI docker images for use in GPU cloud and local environments. Includes AI-Dock base for authentication and improved user experience.
Other
110 stars 62 forks source link

Protovision script - It doesn't download links containing spaces #19

Open Avaray opened 4 months ago

Avaray commented 4 months ago

Closing the link in apostrophes, I thought the download manager would handle spaces, but it doesn't. So I changed spaces to %20 symbols. It didn't help.

Example Lora links that won't be downloaded:

'https://huggingface.co/datasets/AddictiveFuture/sdxl-pony-models-backup/resolve/main/LORA/Line Art Style LoRA XL.safetensors'
'https://huggingface.co/datasets/AddictiveFuture/sdxl-pony-models-backup/resolve/main/LORA/Line%20Art%20Style%20LoRA%20XL.safetensors'
robballantyne commented 4 months ago

Will fix this asap. Thanks!

Avaray commented 4 months ago

Will fix this asap. Thanks!

I just checked Privisioning script and I see it is using wget to download models. I use wget to manually download models and I don't have any issues then. Theoretically, wget should work properly in the script, but it doesn't :D

Variables in script seems to be quoted properly.

hmmm.... My assumptions: