Update app3.py
Browse files
app3.py
CHANGED
@@ -180,8 +180,8 @@ def start():
|
|
180 |
# 在这里处理异常的代码
|
181 |
print(f"proxy An error occurred: {e}")
|
182 |
try:
|
183 |
-
os.system(f"python launch.py --use-cpu=True --no-half --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")
|
184 |
-
os.system(f"python launch.py --use-cpu=True --no-half --ngrok=2YypH9d2VXVL78HxF7g0lintH17_2GbtkFNFFngUkTZcyQ4SD --api --xformers --enable-insecure-extension-access --gradio-queue --disable-safe-unpickle & python launch.py --use-cpu=True --no-half --api --xformers --enable-insecure-extension-access --gradio-queue --disable-safe-unpickle --port=7862 & python launch.py --api --xformers --use-cpu=True --no-half --enable-insecure-extension-access --gradio-queue --disable-safe-unpickle --port=7863")
|
185 |
except Exception as e:
|
186 |
# 在这里处理异常的代码
|
187 |
print(f"An error occurred: {e}")
|
|
|
180 |
# 在这里处理异常的代码
|
181 |
print(f"proxy An error occurred: {e}")
|
182 |
try:
|
183 |
+
os.system(f"python launch.py --skip-torch-cuda-test --use-cpu=True --no-half --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")
|
184 |
+
os.system(f"python launch.py --skip-torch-cuda-test --use-cpu=True --no-half --ngrok=2YypH9d2VXVL78HxF7g0lintH17_2GbtkFNFFngUkTZcyQ4SD --api --xformers --enable-insecure-extension-access --gradio-queue --disable-safe-unpickle & python launch.py --skip-torch-cuda-test --use-cpu=True --no-half --api --xformers --enable-insecure-extension-access --gradio-queue --disable-safe-unpickle --port=7862 & python launch.py --api --skip-torch-cuda-test --xformers --use-cpu=True --no-half --enable-insecure-extension-access --gradio-queue --disable-safe-unpickle --port=7863")
|
185 |
except Exception as e:
|
186 |
# 在这里处理异常的代码
|
187 |
print(f"An error occurred: {e}")
|