sd-webui-complete-setup icon indicating copy to clipboard operation
sd-webui-complete-setup copied to clipboard

Problem with installing models from civit.ai

Open mertayd0 opened this issue 1 year ago • 4 comments

HTTP request sent, awaiting response... 401 Unauthorized

Username/Password Authentication Failed.

I tried wget "civit.ai model download link" but got this error. I already put my API key btw

mertayd0 avatar Oct 05 '24 10:10 mertayd0

And is there a way to download private models directly from huggingface?

mertayd0 avatar Oct 05 '24 10:10 mertayd0

HTTP request sent, awaiting response... 401 Unauthorized

Username/Password Authentication Failed.

I tried wget "civit.ai model download link" but got this error. I already put my API key btw

I already provide Install from URLs cell for people to download models manually, so why you download models using wget ? API Key that you input doesn't work outside my ipynb notebooks.


And is there a way to download private models directly from huggingface?

I haven't implemented it yet. Soon. Thanks for reminding me.

ffxvs avatar Oct 05 '24 12:10 ffxvs

Thanks man! It's sounds stupid but I am really not good at Jupyterlab thing. Should I put the link between brackets in the Install from URLs cell? I tried it but didn't worked that way.

mertayd0 avatar Oct 05 '24 13:10 mertayd0

Put your link between brackets and quotation marks. Add comma at the end if you want to put multiple links.

It should look like this :

other_models = ['https://huggingface.co/Lykon/DreamShaper/resolve/main/DreamShaper_8_pruned.safetensors']
# or
other_models = [
    'https://huggingface.co/Lykon/DreamShaper/resolve/main/DreamShaper_8_pruned.safetensors',
    'https://civitai.com/api/download/models/201259?type=Model&format=SafeTensor&size=pruned&fp=fp16'
]

ffxvs avatar Oct 05 '24 14:10 ffxvs

HuggingFace support has been added.

Update 2024.10.15 WebUI Settings

ffxvs avatar Oct 15 '24 16:10 ffxvs