Skip to content

Conversation

@mauwii
Copy link
Contributor

@mauwii mauwii commented Oct 28, 2022

use propper bearer authentication to download the stable-diffusion model from huggingface.co, instead of --user "username:token"

@lstein: This should be even easier to reproduce, since the there should be only the huggingface token in secrets.HUGGINGFACE_TOKEN (but no linebreak in the end, so only hf_blablalba)

Also removeing -O since we don't want a file with original name as output, but already defined a outputfile

Copy link
Collaborator

@lstein lstein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for showing me how to provide the huggingface token to the downloads. I'll use this in the preload script. Right now am using the huggingface_hub API, which isn't ideal.

@lstein lstein merged commit e4a212d into invoke-ai:development Oct 29, 2022
@mauwii mauwii deleted the use-bearer-token-to-download-model branch October 29, 2022 19:14
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

Successfully merging this pull request may close these issues.

2 participants