Spaces:
Runtime error
Runtime error
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) | |