Update app2.py
Browse files
app2.py
CHANGED
@@ -203,7 +203,7 @@ def start():
|
|
203 |
print(f"proxy An error occurred: {e}")
|
204 |
try:
|
205 |
os.system(f"python launch.py --api --xformers --exit --enable-insecure-extension-access --ui-settings-file /home/xlab-app-center/config.json --ui-config-file /home/xlab-app-center/ui-config.json --gradio-queue --disable-safe-unpickle")
|
206 |
-
os.system(f"python launch.py --
|
207 |
except Exception as e:
|
208 |
# 在这里处理异常的代码
|
209 |
print(f"An error occurred: {e}")
|
|
|
203 |
print(f"proxy An error occurred: {e}")
|
204 |
try:
|
205 |
os.system(f"python launch.py --api --xformers --exit --enable-insecure-extension-access --ui-settings-file /home/xlab-app-center/config.json --ui-config-file /home/xlab-app-center/ui-config.json --gradio-queue --disable-safe-unpickle")
|
206 |
+
os.system(f"python launch.py --api --xformers --enable-insecure-extension-access --gradio-queue --disable-safe-unpickle")
|
207 |
except Exception as e:
|
208 |
# 在这里处理异常的代码
|
209 |
print(f"An error occurred: {e}")
|