ACCA225 commited on
Commit
0885d48
1 Parent(s): 1180c28

Update app2.py

Browse files
Files changed (1) hide show
  1. app2.py +3 -3
app2.py CHANGED
@@ -1,3 +1,4 @@
 
1
  import os
2
  # import wandb
3
  os.system("pip install nvidia-ml-py3")
@@ -82,8 +83,7 @@ plugins = [
82
  "https://openi.pcl.ac.cn/2575044704/sd-extension-system-info",
83
  "https://openi.pcl.ac.cn/2575044704/batchlinks-webui",
84
  'https://openi.pcl.ac.cn/2575044704/stable-diffusion-webui-localization-zh_CN',
85
- 'https://openi.pcl.ac.cn/2575044704/sd-webui-supermerger',
86
- "https://openi.pcl.ac.cn/2575044704/sd-webui-supermerger",
87
  'https://openi.pcl.ac.cn/2575044704/sd-webui-lora-block-weight',
88
  'https://openi.pcl.ac.cn/2575044704/sd-skin-extension',
89
 
@@ -221,7 +221,7 @@ def wandb():
221
  def start():
222
  try:
223
  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")
224
- os.system(f"python launch.py --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")
225
  except Exception as e:
226
  # 在这里处理异常的代码
227
  print(f"An error occurred: {e}")
 
1
+ # 给我的朋友写的
2
  import os
3
  # import wandb
4
  os.system("pip install nvidia-ml-py3")
 
83
  "https://openi.pcl.ac.cn/2575044704/sd-extension-system-info",
84
  "https://openi.pcl.ac.cn/2575044704/batchlinks-webui",
85
  'https://openi.pcl.ac.cn/2575044704/stable-diffusion-webui-localization-zh_CN',
86
+ #'https://openi.pcl.ac.cn/2575044704/sd-webui-supermerger',
 
87
  'https://openi.pcl.ac.cn/2575044704/sd-webui-lora-block-weight',
88
  'https://openi.pcl.ac.cn/2575044704/sd-skin-extension',
89
 
 
221
  def start():
222
  try:
223
  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")
224
+ 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")
225
  except Exception as e:
226
  # 在这里处理异常的代码
227
  print(f"An error occurred: {e}")