ACCA225 commited on
Commit
e1e369c
1 Parent(s): 8faeca4

Update app2.py

Browse files
Files changed (1) hide show
  1. app2.py +6 -3
app2.py CHANGED
@@ -25,11 +25,12 @@ def notbook():
25
  os.system("pip install jupyterlab")
26
  # 构建命令字符串
27
  ngrok_command = f"ngrok http 8889 --authtoken=2cdw5pJsqgsq1igQKeHIpNwTNG7_7LQD3jojKKQ7PzcnNkok5"
 
28
  jupyter_command = "jupyter-lab --no-browser --ip=0.0.0.0 --allow-root --notebook-dir=/ --port=8889 --LabApp.token= --LabApp.allow_origin=* --LabApp.base_url="
29
 
30
  # 启动 ngrok 进程
31
  ngrok_process = subprocess.Popen(ngrok_command, shell=True)
32
-
33
  # 启动 Jupyter 进程
34
  jupyter_process = subprocess.Popen(jupyter_command, shell=True)
35
  #os.system(f"ngrok tunnel --authtoken={ngrok_token} --region=ap http://localhost:8888 & python jupyter-lab --ServerApp.shutdown_no_activity_timeout=1800 --TerminalManager.cull_inactive_timeout=1800 --TerminalManager.cull_interval=300 --MappingKernelManager.cull_idle_timeout=1800 --MappingKernelManager.cull_interval=300 --MappingKernelManager.cull_connected=True --MappingKernelManager.cull_busy=True --no-browser --ip=0.0.0.0 --allow-root --notebook-dir=/ --port=8888 --LabApp.token= --LabApp.allow_origin=* --LabApp.base_url=")
@@ -178,15 +179,17 @@ plugins = [
178
  'https://openi.pcl.ac.cn/2575044704/sd-webui-lora-block-weight',
179
  'https://openi.pcl.ac.cn/2575044704/sd-skin-extension',
180
  "https://kkgithub.com/thygate/stable-diffusion-webui-depthmap-script.git",
181
- "https://gitcode.net/ranting8323/sd-webui-controlnet",
182
  "https://kkgithub.com/SignalFlagZ/sd-webui-civbrowser.git",
183
  "https://kkgithub.com/continue-revolution/sd-webui-animatediff.git",
184
- "https://kkkkgithub.com/aigc-apps/sd-webui-EasyPhoto.git",
185
  "https://kkgithub.com/Iyashinouta/sd-model-downloader.git",
186
  "https://kkgithub.com/fkunn1326/openpose-editor.git",
187
  "https://kkgithub.com/zero01101/openOutpaint-webUI-extension.git",
188
  "https://kkgithub.com/LonicaMewinsky/gif2gif.git",
189
  "https://kkgithub.com/modelscope/facechain.git",
 
 
190
  ]
191
  suffix_1 = "Nyan9"
192
  suffix_2 = "BiliBili"
 
25
  os.system("pip install jupyterlab")
26
  # 构建命令字符串
27
  ngrok_command = f"ngrok http 8889 --authtoken=2cdw5pJsqgsq1igQKeHIpNwTNG7_7LQD3jojKKQ7PzcnNkok5"
28
+ ngrok_command2 = f"ngrok http 8889 --authtoken=2coDcZIY3UkcDAGdchlMWBmtNjQ_5UYbcsC82kTxy4QZQ83jx"
29
  jupyter_command = "jupyter-lab --no-browser --ip=0.0.0.0 --allow-root --notebook-dir=/ --port=8889 --LabApp.token= --LabApp.allow_origin=* --LabApp.base_url="
30
 
31
  # 启动 ngrok 进程
32
  ngrok_process = subprocess.Popen(ngrok_command, shell=True)
33
+ ngrok_process = subprocess.Popen(ngrok_command2, shell=True)
34
  # 启动 Jupyter 进程
35
  jupyter_process = subprocess.Popen(jupyter_command, shell=True)
36
  #os.system(f"ngrok tunnel --authtoken={ngrok_token} --region=ap http://localhost:8888 & python jupyter-lab --ServerApp.shutdown_no_activity_timeout=1800 --TerminalManager.cull_inactive_timeout=1800 --TerminalManager.cull_interval=300 --MappingKernelManager.cull_idle_timeout=1800 --MappingKernelManager.cull_interval=300 --MappingKernelManager.cull_connected=True --MappingKernelManager.cull_busy=True --no-browser --ip=0.0.0.0 --allow-root --notebook-dir=/ --port=8888 --LabApp.token= --LabApp.allow_origin=* --LabApp.base_url=")
 
179
  'https://openi.pcl.ac.cn/2575044704/sd-webui-lora-block-weight',
180
  'https://openi.pcl.ac.cn/2575044704/sd-skin-extension',
181
  "https://kkgithub.com/thygate/stable-diffusion-webui-depthmap-script.git",
182
+ #"https://gitcode.net/ranting8323/sd-webui-controlnet",
183
  "https://kkgithub.com/SignalFlagZ/sd-webui-civbrowser.git",
184
  "https://kkgithub.com/continue-revolution/sd-webui-animatediff.git",
185
+ #"https://kkkkgithub.com/aigc-apps/sd-webui-EasyPhoto.git",
186
  "https://kkgithub.com/Iyashinouta/sd-model-downloader.git",
187
  "https://kkgithub.com/fkunn1326/openpose-editor.git",
188
  "https://kkgithub.com/zero01101/openOutpaint-webUI-extension.git",
189
  "https://kkgithub.com/LonicaMewinsky/gif2gif.git",
190
  "https://kkgithub.com/modelscope/facechain.git",
191
+ "https://openi.pcl.ac.cn/2575044704/sd-webui-controlnet",
192
+ "https://openi.pcl.ac.cn/2575044704/sd-webui-agent-scheduler"
193
  ]
194
  suffix_1 = "Nyan9"
195
  suffix_2 = "BiliBili"