Update app3.py
Browse files
app3.py
CHANGED
@@ -202,8 +202,8 @@ def start():
|
|
202 |
# 在这里处理异常的代码
|
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 --ngrok=2YypH9d2VXVL78HxF7g0lintH17_2GbtkFNFFngUkTZcyQ4SD --api --xformers --enable-insecure-extension-access --gradio-queue --disable-safe-unpickle & python launch.py --api --xformers --enable-insecure-extension-access --gradio-queue --disable-safe-unpickle --port=7862 & python launch.py --api --xformers --enable-insecure-extension-access --gradio-queue --disable-safe-unpickle --port=7863")
|
207 |
except Exception as e:
|
208 |
# 在这里处理异常的代码
|
209 |
print(f"An error occurred: {e}")
|
|
|
202 |
# 在这里处理异常的代码
|
203 |
print(f"proxy An error occurred: {e}")
|
204 |
try:
|
205 |
+
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")
|
206 |
+
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")
|
207 |
except Exception as e:
|
208 |
# 在这里处理异常的代码
|
209 |
print(f"An error occurred: {e}")
|