Kamtera commited on
Commit
1a4a611
1 Parent(s): c986a22

Update on_startup.sh

Browse files
Files changed (1) hide show
  1. on_startup.sh +3 -3
on_startup.sh CHANGED
@@ -14,15 +14,15 @@ virtualenv my_project_env
14
  source my_project_env/bin/activate
15
  pip install jupyter
16
 
17
- JUPYTER_TOKEN="${JUPYTER_TOKEN:=a}"
18
 
19
- echo "Starting Jupyter Lab with token $JUPYTER_TOKEN"
20
  jupyter notebook \
21
  --ip 0.0.0.0 \
22
  --port 7183 \
23
  --no-browser \
24
  --allow-root \
25
- --NotebookApp.token="$JUPYTER_TOKEN" \
26
  --NotebookApp.password='' \
27
  --NotebookApp.allow_origin='*' \
28
  --NotebookApp.disable_check_xsrf=True \
 
14
  source my_project_env/bin/activate
15
  pip install jupyter
16
 
17
+ JUPYTER_TOKENT="${JUPYTER_TOKENT:=huggingface}"
18
 
19
+ echo "Starting Jupyter Lab with token $JUPYTER_TOKENT"
20
  jupyter notebook \
21
  --ip 0.0.0.0 \
22
  --port 7183 \
23
  --no-browser \
24
  --allow-root \
25
+ --NotebookApp.token="$JUPYTER_TOKENT" \
26
  --NotebookApp.password='' \
27
  --NotebookApp.allow_origin='*' \
28
  --NotebookApp.disable_check_xsrf=True \