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
[Bug]: download model on colab #974
Comments
What have you tried? |
I know this, but I use colab, so I have to download the models every time I want to use it, so I want to know how to add the api to colab so that there is no problem when downloading, and I will add |
@wolfkingal2000 Hi!
To get a Civitai API Key, you need to create a Civitai account. |
Reall? Thanks for answering |
I think we will need a fix to add the api key to a config or cli argument so that if any calls to the civitai.com api are used, it gets passed to all of them as it only seems to affect the ones where the model owners have enabled that feature, eg they required the user be logged in to download the model. |
Thank you, it would be great if you made this command or make cell command send this issue to use that |
My fork/branch has it in notebook as a variable but it is a little manual currently depending on what type of stuff I am creating. |
It would be nice if we could use the For example, when using bash + wget, it's very easy to add this header, but less trivial to tack-on a GET param to an arbitrary URL that may or may not already have existing GET params, e.g. if [[ "$URL" == *\?* ]]; then
# If it does, append the token query parameter
URL="$URL&token=$CIVITAI_API_KEY"
else
# Otherwise, add the token query parameter
URL="$URL?token=$CIVITAI_API_KEY"
fi |
What happened?
Hello, how can I download the models with api on colab ؟
Steps to reproduce the problem
What should have happened?
Hello, how can I download the models with api on colab ؟
What platforms do you use to access the site?
Linux
What browsers do you use to access the site?
Mozilla Firefox
Additional information, context and logs
No response
The text was updated successfully, but these errors were encountered: