TheLastBen / fast-stable-diffusion

fast-stable-diffusion + DreamBooth
MIT License
7.55k stars 1.31k forks source link

Error when downloading LoRA #2944

Open justahumanb opened 3 weeks ago

justahumanb commented 3 weeks ago

NameError Traceback (most recent call last) in <cell line: 5>() 8 os.makedirs('/content/gdrive/'+mainpth+'/sd/stable-diffusion-w'+blsaphemy+'/models/Lora', exist_ok=True) 9 ---> 10 src=getsrc(LoRA_LINK) 11 12 if src=='civitai':

NameError: name 'getsrc' is not defined

Happens with LoRas from all the sources

BlessedDuelOP commented 3 weeks ago

Check the folders to see if the Lora has downloaded correctly; sometimes the file downloads but ends up with 0 mg. You can also use a code cell to download the Lora of your choice: !wget LINK -O /content/gdrive/MyDrive/sd/stable-diffusion-webui/models/Lora/yourlora.safetensors