Spaces:
Runtime error
Runtime error
salomonsky
commited on
Commit
•
8176758
1
Parent(s):
f07c037
Update app2.py
Browse files
app2.py
CHANGED
@@ -107,7 +107,7 @@ DownLoad(r"https://civitai.com/api/download/models/39164",str(user_home / r"webu
|
|
107 |
print("Done\nStarting Webui...")
|
108 |
os.chdir(user_home / r"webui" / r"stable-diffusion-webui")
|
109 |
while True:
|
110 |
-
ret=subprocess.run([r"python3" ,r"launch.py",r"--precision",r"full",r"--no-half",r"--no-half-vae",r"--enable-insecure-extension-access",r"--medvram",r"--
|
111 |
if(ret.returncode == 0 ):
|
112 |
del ret
|
113 |
gc.collect()
|
|
|
107 |
print("Done\nStarting Webui...")
|
108 |
os.chdir(user_home / r"webui" / r"stable-diffusion-webui")
|
109 |
while True:
|
110 |
+
ret=subprocess.run([r"python3" ,r"launch.py",r"--precision",r"full",r"--no-half",r"--no-half-vae",r"--enable-insecure-extension-access",r"--medvram",r"--share",r"--enable-console-prompts",r"--ui-settings-file="+str(pathlib.Path(__file__).parent /r"config.json")])
|
111 |
if(ret.returncode == 0 ):
|
112 |
del ret
|
113 |
gc.collect()
|