Update app2.py
Browse files
app2.py
CHANGED
@@ -27,7 +27,7 @@ def notbook():
|
|
27 |
# 构建命令字符串
|
28 |
ngrok_command = f"ngrok http 8889 --authtoken=2cdw5pJsqgsq1igQKeHIpNwTNG7_7LQD3jojKKQ7PzcnNkok5"
|
29 |
ngrok_command2 = f"ngrok tunnel --label edge=edghts_2doueG9BDi9rCXUGnsSsNbTab8H --authtoken=2douOsr61tUyYwMVF3lfj9uZGoa_6FPJ2x1xhKPbL6z4euKkM --region=ap http://localhost:8889"
|
30 |
-
jupyter_command = "jupyter-lab --no-browser --ip=0.0.0.0 --allow-root --notebook-dir=/ --port=8889 --LabApp.allow_origin=* --LabApp.token= --LabApp.base_url
|
31 |
|
32 |
# 启动 ngrok 进程
|
33 |
ngrok_process = subprocess.Popen(ngrok_command, shell=True)
|
@@ -170,7 +170,7 @@ def mkdirs(path, exist_ok=True):
|
|
170 |
os.makedirs(path,exist_ok=exist_ok)
|
171 |
plugins = [
|
172 |
"https://gitcode.net/overbill1683/stable-diffusion-webui-localization-zh_Hans",
|
173 |
-
"https://gitcode.net/ranting8323/multidiffusion-upscaler-for-automatic1111",
|
174 |
"https://gitcode.net/ranting8323/adetailer",
|
175 |
"https://gitcode.net/ranting8323/sd-webui-inpaint-anything",
|
176 |
"https://gitcode.net/ranting8323/a1111-sd-webui-tagcomplete",
|
|
|
27 |
# 构建命令字符串
|
28 |
ngrok_command = f"ngrok http 8889 --authtoken=2cdw5pJsqgsq1igQKeHIpNwTNG7_7LQD3jojKKQ7PzcnNkok5"
|
29 |
ngrok_command2 = f"ngrok tunnel --label edge=edghts_2doueG9BDi9rCXUGnsSsNbTab8H --authtoken=2douOsr61tUyYwMVF3lfj9uZGoa_6FPJ2x1xhKPbL6z4euKkM --region=ap http://localhost:8889"
|
30 |
+
jupyter_command = "jupyter-lab --no-browser --ip=0.0.0.0 --allow-root --notebook-dir=/ --port=8889 --LabApp.allow_origin=* --LabApp.token= --LabApp.base_url="
|
31 |
|
32 |
# 启动 ngrok 进程
|
33 |
ngrok_process = subprocess.Popen(ngrok_command, shell=True)
|
|
|
170 |
os.makedirs(path,exist_ok=exist_ok)
|
171 |
plugins = [
|
172 |
"https://gitcode.net/overbill1683/stable-diffusion-webui-localization-zh_Hans",
|
173 |
+
#"https://gitcode.net/ranting8323/multidiffusion-upscaler-for-automatic1111",
|
174 |
"https://gitcode.net/ranting8323/adetailer",
|
175 |
"https://gitcode.net/ranting8323/sd-webui-inpaint-anything",
|
176 |
"https://gitcode.net/ranting8323/a1111-sd-webui-tagcomplete",
|