ACCA225 commited on
Commit
c93778e
1 Parent(s): 60e6cad

Update app2.py

Browse files
Files changed (1) hide show
  1. app2.py +1 -1
app2.py CHANGED
@@ -24,7 +24,7 @@ import subprocess
24
  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 = "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 进程
 
24
  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 进程