Spaces:
Runtime error
Runtime error
File size: 816 Bytes
4ee6ec6 2ee0527 4ee6ec6 93bfceb |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
import os
os.kill(os.getpid(), 9) # This will crash Colab (required, everything will still be intact so dont worry)
git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui /content/stable-diffusion-webui
%cd /content/stable-diffusion-webui
#@title Normal 1.4 model
# get a token from https://huggingface.co/settings/tokens
user_token = "" #@param {type:"string"}
user_header = f"\"Authorization: Bearer {user_token}\""
!wget --header={user_header} https://huggingface.co/nolanaatama/nythngv5/resolve/main/nythngv5.safetensors -O /content/stable-diffusion-webui/models/Stable-diffusion/anythingv5.safetensors
!COMMANDLINE_ARGS="--exit" REQS_FILE="requirements.txt" python launch.py
import os
os.kill(os.getpid(), 9) # This will crash Colab (required, everything will still be intact so dont worry)
|