Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when downloading LoRA #2944

Closed
justahumanb opened this issue Oct 27, 2024 · 2 comments
Closed

Error when downloading LoRA #2944

justahumanb opened this issue Oct 27, 2024 · 2 comments

Comments

@justahumanb
Copy link

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
Copy link

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

@justahumanb
Copy link
Author

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
That worked, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants