Spaces:
Runtime error
Runtime error
vorstcavry
commited on
Commit
•
78f6880
1
Parent(s):
619457a
Update app.py
Browse files
app.py
CHANGED
@@ -66,6 +66,8 @@ print("installing extensions")
|
|
66 |
#Gitclone(r"https://github.com/vorstcavry/Checkpoint-Model",user_home / r"stable-diffusion-webui" / r"models" / r"Stable-diffusion" / r"Checkpoint")
|
67 |
|
68 |
DownLoad(r"https://huggingface.co/embed/upscale/resolve/main/4x-UltraSharp.pth",user_home / r"stable-diffusion-webui" / r"models" / r"ESRGAN" ,r"4x-UltraSharp.pth")
|
|
|
|
|
69 |
while (True):
|
70 |
i=subprocess.run([r"wget",r"https://raw.githubusercontent.com/vorstcavry/s-scripts/main/run_n_times.py",r"-O",str(user_home / r"stable-diffusion-webui" / r"scripts" / r"run_n_times.py")])
|
71 |
if(i.returncode == 0 ):
|
@@ -98,6 +100,15 @@ Gitclone(r"https://tinyurl.com/aspect-ratio-v",user_home / r"stable-diffusion-we
|
|
98 |
#Gitclone(r"https://github.com/IDEA-Research/DWPose",user_home / r"stable-diffusion-webui" / r"extensions" / r"DWPose")
|
99 |
#Gitclone(r"https://github.com/Bing-su/adetailer",user_home / r"stable-diffusion-webui" / r"extensions" / r"adetailer")
|
100 |
Gitclone(r"https://github.com/NoCrypt/sd_hf_out",user_home / r"stable-diffusion-webui" / r"extensions" / r"sd_hf_out")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
101 |
#Gitclone(r"https://github.com/KohakuBlueleaf/LyCORIS",user_home / r"stable-diffusion-webui" / r"extensions" / r"LyCORIS")
|
102 |
#Gitclone(r"https://github.com/slimerplanet/sd-webui-civitai-api",user_home / r"stable-diffusion-webui" / r"extensions" / r"sd-webui-civitai-api")
|
103 |
#Gitclone(r"https://github.com/KohakuBlueleaf/a1111-sd-webui-lycoris",user_home / r"stable-diffusion-webui" / r"extensions" / r"a1111-sd-webui-lycoris")
|
@@ -219,7 +230,7 @@ os.chdir(user_home / r"stable-diffusion-webui")
|
|
219 |
import subprocess
|
220 |
import pathlib
|
221 |
|
222 |
-
user_home = pathlib.Path("/home/user")
|
223 |
|
224 |
args = [
|
225 |
executable,
|
|
|
66 |
#Gitclone(r"https://github.com/vorstcavry/Checkpoint-Model",user_home / r"stable-diffusion-webui" / r"models" / r"Stable-diffusion" / r"Checkpoint")
|
67 |
|
68 |
DownLoad(r"https://huggingface.co/embed/upscale/resolve/main/4x-UltraSharp.pth",user_home / r"stable-diffusion-webui" / r"models" / r"ESRGAN" ,r"4x-UltraSharp.pth")
|
69 |
+
DownLoad(r"https://huggingface.co/vorstcavry/v/resolve/main/styles.csv",user_home / r"stable-diffusion-webui",r"styles.csv")
|
70 |
+
|
71 |
while (True):
|
72 |
i=subprocess.run([r"wget",r"https://raw.githubusercontent.com/vorstcavry/s-scripts/main/run_n_times.py",r"-O",str(user_home / r"stable-diffusion-webui" / r"scripts" / r"run_n_times.py")])
|
73 |
if(i.returncode == 0 ):
|
|
|
100 |
#Gitclone(r"https://github.com/IDEA-Research/DWPose",user_home / r"stable-diffusion-webui" / r"extensions" / r"DWPose")
|
101 |
#Gitclone(r"https://github.com/Bing-su/adetailer",user_home / r"stable-diffusion-webui" / r"extensions" / r"adetailer")
|
102 |
Gitclone(r"https://github.com/NoCrypt/sd_hf_out",user_home / r"stable-diffusion-webui" / r"extensions" / r"sd_hf_out")
|
103 |
+
Gitclone(r"https://github.com/yoinked-h/yoinked-style-adder",user_home / r"stable-diffusion-webui" / r"extensions" / r"yoinked-style-adder")
|
104 |
+
Gitclone(r"https://github.com/picobyte/stable-diffusion-webui-wd14-tagger",user_home / r"stable-diffusion-webui" / r"extensions" / r"stable-diffusion-webui-wd14-tagger")
|
105 |
+
Gitclone(r"https://github.com/ashen-sensored/sd_webui_stealth_pnginfo",user_home / r"stable-diffusion-webui" / r"extensions" / r"sd_webui_stealth_pnginfo")
|
106 |
+
Gitclone(r"https://github.com/klimaleksus/stable-diffusion-webui-disable-inpainting-overlay",user_home / r"stable-diffusion-webui" / r"extensions" / r"stable-diffusion-webui-disable-inpainting-overlay")
|
107 |
+
Gitclone(r"https://github.com/Tsukreya/Umi-AI-debloat",user_home / r"stable-diffusion-webui" / r"extensions" / r"Umi-AI-debloat")
|
108 |
+
Gitclone(r"https://github.com/ljleb/sd-webui-freeu",user_home / r"stable-diffusion-webui" / r"extensions" / r"sd-webui-freeu")
|
109 |
+
Gitclone(r"https://github.com/ArtVentureX/sd-webui-agent-scheduler",user_home / r"stable-diffusion-webui" / r"extensions" / r"sd-webui-agent-scheduler")
|
110 |
+
Gitclone(r"https://github.com/NoCrypt/sd-fast-pnginfo",user_home / r"stable-diffusion-webui" / r"extensions" / r"sd-fast-pnginfo")
|
111 |
+
Gitclone(r"https://github.com/klimaleksus/stable-diffusion-webui-fix-image-paste",user_home / r"stable-diffusion-webui" / r"extensions" / r"stable-diffusion-webui-fix-image-paste")
|
112 |
#Gitclone(r"https://github.com/KohakuBlueleaf/LyCORIS",user_home / r"stable-diffusion-webui" / r"extensions" / r"LyCORIS")
|
113 |
#Gitclone(r"https://github.com/slimerplanet/sd-webui-civitai-api",user_home / r"stable-diffusion-webui" / r"extensions" / r"sd-webui-civitai-api")
|
114 |
#Gitclone(r"https://github.com/KohakuBlueleaf/a1111-sd-webui-lycoris",user_home / r"stable-diffusion-webui" / r"extensions" / r"a1111-sd-webui-lycoris")
|
|
|
230 |
import subprocess
|
231 |
import pathlib
|
232 |
|
233 |
+
user_home = pathlib.Path("/home/user")
|
234 |
|
235 |
args = [
|
236 |
executable,
|