-
Notifications
You must be signed in to change notification settings - Fork 6k
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
Colab: added the ability to download models from civitai #1758
base: main
Are you sure you want to change the base?
Conversation
Civitai now requires token auth for automated downloads, see #2041 (comment) |
It works with me without issue. Please give it a try and tell me if any problem arise. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the bump, seems like Civitai has removed the global restrictions for auth again... 🤷
Please check the grammar in the provided code, see suggestions.
The code works fine but i am sadly not authorized to merge this PR.
Co-authored-by: Manuel Schmid <[email protected]>
added a check to make sure that the downloaded model is SDXL
made the required changes and added a check to make sure the downloaded model is SDXL. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While i understand the reasoning behind this code we still have to consider that SD1.5 models can be used as refiners. I'd propose to keep the code but please keep this in mind when reviewing.
this code is for colab and colab has the refiner disabled by default. |
Hi is this going to be merged? @lllyasviel? |
its hard and time consuming to download models and putting them in the right directory in google colab so I added the ability to download checkpoints and LoRAs from civitai using model URL. the code uses civitai api to get model info and downloads it in the right directory.
please let me know if this change is acceptable and if any changes is required.