Spaces:
Running
Running
dasghost65536
commited on
Commit
•
0cf3ff8
1
Parent(s):
84605fa
Update app.py
Browse files
app.py
CHANGED
@@ -160,4 +160,15 @@ while True:
|
|
160 |
else :
|
161 |
del ret
|
162 |
|
163 |
-
del os ,user_home ,pyexecutable ,subprocess
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
160 |
else :
|
161 |
del ret
|
162 |
|
163 |
+
del os ,user_home ,pyexecutable ,subprocess
|
164 |
+
|
165 |
+
# ==GPU Option (UNTESTED)==
|
166 |
+
# while True:
|
167 |
+
# ret=subprocess.run([r"python3" ,r"launch.py",r"--xformers",r"--enable-insecure-extension-access",r"--skip-torch-cuda-test",r"--enable-console-prompts",r"--ui-settings-file="+str(pathlib.Path(__file__).parent /r"config.json")])
|
168 |
+
# if(ret.returncode == 0 ):
|
169 |
+
# del ret
|
170 |
+
# gc.collect()
|
171 |
+
# else :
|
172 |
+
# del ret
|
173 |
+
|
174 |
+
#del os ,user_home ,pyexecutable ,subprocess
|