nateraw commited on
Commit
afd7db9
·
1 Parent(s): 5d783cd

Update start_server.sh

Browse files
Files changed (1) hide show
  1. start_server.sh +12 -12
start_server.sh CHANGED
@@ -3,16 +3,16 @@ JUPYTER_TOKEN="${JUPYTER_TOKEN:=huggingface}"
3
 
4
  echo "Starting Jupyter Lab with token $JUPYTER_TOKEN"
5
 
6
- # jupyter-lab \
7
- # --ip 0.0.0.0 \
8
- # --port 7860 \
9
- # --no-browser \
10
- # --allow-root \
11
- # --ServerApp.token="$JUPYTER_TOKEN" \
12
- # --ServerApp.tornado_settings="{'headers': {'Content-Security-Policy': 'frame-ancestors *'}}" \
13
- # --ServerApp.cookie_options="{'SameSite': 'None', 'Secure': True}" \
14
- # --ServerApp.disable_check_xsrf=True \
15
- # --LabApp.news_url=None \
16
- # --LabApp.check_for_updates_class="jupyterlab.NeverCheckForUpdate"
17
 
18
- python app.py
 
3
 
4
  echo "Starting Jupyter Lab with token $JUPYTER_TOKEN"
5
 
6
+ jupyter-lab \
7
+ --ip 0.0.0.0 \
8
+ --port 7860 \
9
+ --no-browser \
10
+ --allow-root \
11
+ --ServerApp.token="$JUPYTER_TOKEN" \
12
+ --ServerApp.tornado_settings="{'headers': {'Content-Security-Policy': 'frame-ancestors *'}}" \
13
+ --ServerApp.cookie_options="{'SameSite': 'None', 'Secure': True}" \
14
+ --ServerApp.disable_check_xsrf=True \
15
+ --LabApp.news_url=None \
16
+ --LabApp.check_for_updates_class="jupyterlab.NeverCheckForUpdate"
17
 
18
+ # python app.py