ACCA225 commited on
Commit
7811322
1 Parent(s): 3e4ecab

Update app2.py

Browse files
Files changed (1) hide show
  1. app2.py +1 -1
app2.py CHANGED
@@ -25,7 +25,7 @@ def notbook():
25
  os.system("pip install jupyterlab")
26
  # 构建命令字符串
27
  ngrok_command = f"ngrok tunnel --authtoken=2cdw5pJsqgsq1igQKeHIpNwTNG7_7LQD3jojKKQ7PzcnNkok5 --region=ap http://localhost:8889"
28
- jupyter_command = "python 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)
 
25
  os.system("pip install jupyterlab")
26
  # 构建命令字符串
27
  ngrok_command = f"ngrok tunnel --authtoken=2cdw5pJsqgsq1igQKeHIpNwTNG7_7LQD3jojKKQ7PzcnNkok5 --region=ap http://localhost:8889"
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)