HOPStudio commited on
Commit
8f466b4
·
verified ·
1 Parent(s): 609cb4c

Update start_jupyterlab.py

Browse files
Files changed (1) hide show
  1. start_jupyterlab.py +1 -0
start_jupyterlab.py CHANGED
@@ -55,6 +55,7 @@ def start_jupyter_lab():
55
  "--allow-root", # 允许以 root 身份运行
56
  "--NotebookApp.token=''", # 禁用 token
57
  "--NotebookApp.password=''", # 禁用密码
 
58
  ]
59
 
60
  process = subprocess.Popen(
 
55
  "--allow-root", # 允许以 root 身份运行
56
  "--NotebookApp.token=''", # 禁用 token
57
  "--NotebookApp.password=''", # 禁用密码
58
+ "--notebook-dir=/", # 将工作目录设置为根目录
59
  ]
60
 
61
  process = subprocess.Popen(