Spaces:
Runtime error
Runtime error
r0seyyyd33p
commited on
Commit
•
7de2b90
1
Parent(s):
19aefe7
Upload app.py
Browse files
app.py
CHANGED
@@ -105,7 +105,7 @@ print("Done\nStarting Webui...")
|
|
105 |
os.chdir(user_home / r"stable-diffusion-webui")
|
106 |
gc.collect()
|
107 |
while True:
|
108 |
-
ret=subprocess.run([executable ,user_home / r"stable-diffusion-webui" / r"launch.py",r"--precision",r"full",r"--no-half",r"--no-half-vae",r"--enable-insecure-extension-access",r"--medvram",r"--skip-torch-cuda-test",r"--enable-console-prompts",r"--ui-settings-file="+str(pathlib.Path(__file__).parent /r"config.json", r"--REQS_FILE="+str(pathlib.Path(__file__).parent /r"requirements2.txt")
|
109 |
if(ret.returncode == 0 ):
|
110 |
del ret
|
111 |
gc.collect()
|
|
|
105 |
os.chdir(user_home / r"stable-diffusion-webui")
|
106 |
gc.collect()
|
107 |
while True:
|
108 |
+
ret=subprocess.run([executable ,user_home / r"stable-diffusion-webui" / r"launch.py",r"--precision",r"full",r"--no-half",r"--no-half-vae",r"--enable-insecure-extension-access",r"--medvram",r"--skip-torch-cuda-test",r"--enable-console-prompts",r"--ui-settings-file="+str(pathlib.Path(__file__).parent /r"config.json"), , r"--REQS_FILE="+str(pathlib.Path(__file__).parent /r"requirements2.txt")])
|
109 |
if(ret.returncode == 0 ):
|
110 |
del ret
|
111 |
gc.collect()
|