ACCA225 commited on
Commit
6909fd6
1 Parent(s): 5d13288

Update app3.py

Browse files
Files changed (1) hide show
  1. app3.py +2 -2
app3.py CHANGED
@@ -178,8 +178,8 @@ def start():
178
  # 在这里处理异常的代码
179
  print(f"proxy An error occurred: {e}")
180
  try:
181
- 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")
182
- 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")
183
  except Exception as e:
184
  # 在这里处理异常的代码
185
  print(f"An error occurred: {e}")
 
178
  # 在这里处理异常的代码
179
  print(f"proxy An error occurred: {e}")
180
  try:
181
+ os.system(f"python launch.py --skip-torch-cuda-test --use-cpu=True --no-half --api --xformers --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")
182
+ #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")
183
  except Exception as e:
184
  # 在这里处理异常的代码
185
  print(f"An error occurred: {e}")