Yuhkil commited on
Commit
93bfceb
·
1 Parent(s): 4ee6ec6

Update app.py

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