aka7774 / sd_filer

File Management of Models, Hypernetworks, Extensions, and Images.
22 stars 2 forks source link

fix file name in google colab when downloading from civitai.com #1

Closed x-legion closed 1 year ago

x-legion commented 1 year ago

image the file saves as numbers like the civitai link. It doesn't pickup the new name from redirected URL.

aka7774 commented 1 year ago

image

Thank you!

x-legion commented 1 year ago

image when downloading lora from civitiai in lora tab

x-legion commented 1 year ago

file path name mistake change lora to Lora might fix this

x-legion commented 1 year ago

also can you add multiple connections per download to speed the download.

aka7774 commented 1 year ago

file path name mistake change lora to Lora might fix this

The directory name was different between sd_dreambooth_extension and the original implementation. I've decided to match it to the original. It also supports --lora-dir.

aka7774 commented 1 year ago

also can you add multiple connections per download to speed the download.

I'd love to use aria2c or aria2p but I'll hold out because I'll need binaries for windows.

x-legion commented 1 year ago

file path name mistake change lora to Lora might fix this

The directory name was different between sd_dreambooth_extension and the original implementation. I've decided to match it to the original. It also supports --lora-dir.

https://github.com/ddPn08/kohya-sd-scripts-webui.git I use this one.

x-legion commented 1 year ago

also can you add multiple connections per download to speed the download.

I'd love to use aria2c or aria2p but I'll hold out because I'll need binaries for windows.

it takes at least a minute to download a model compared to 10s download with aria2c multiple connections

aka7774 commented 1 year ago

https://github.com/ddPn08/kohya-sd-scripts-webui.git I use this one.

It's a nice, simple tool. It's made by high school kids.

aka7774 commented 1 year ago

it takes at least a minute to download a model compared to 10s download with aria2c multiple connections

My sweet Aria. (on Colab)

aria_url = ''#@param {type:"string"}
if aria_url:
    !apt install -y -qq aria2
    !aria2c --summary-interval=10 -x 3 --allow-overwrite=true -Z {aria_url}