nateraw commited on
Commit
43b5530
·
1 Parent(s): bbe2522

Update start_server.sh

Browse files
Files changed (1) hide show
  1. start_server.sh +12 -11
start_server.sh CHANGED
@@ -3,14 +3,15 @@ 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"
 
 
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
+ python app.py