Spaces:
Running
Running
Delete start_server.sh
#6
by
Akoss
- opened
- start_server.sh +0 -19
start_server.sh
DELETED
|
@@ -1,19 +0,0 @@
|
|
| 1 |
-
#!/bin/bash
|
| 2 |
-
JUPYTER_TOKEN="${JUPYTER_TOKEN:=huggingface}"
|
| 3 |
-
|
| 4 |
-
echo "Starting Jupyter Lab with token $JUPYTER_TOKEN"
|
| 5 |
-
|
| 6 |
-
NOTEBOOK_DIR="/data"
|
| 7 |
-
|
| 8 |
-
jupyter-lab \
|
| 9 |
-
--ip 0.0.0.0 \
|
| 10 |
-
--port 7860 \
|
| 11 |
-
--no-browser \
|
| 12 |
-
--allow-root \
|
| 13 |
-
--ServerApp.token="$JUPYTER_TOKEN" \
|
| 14 |
-
--ServerApp.tornado_settings="{'headers': {'Content-Security-Policy': 'frame-ancestors *'}}" \
|
| 15 |
-
--ServerApp.cookie_options="{'SameSite': 'None', 'Secure': True}" \
|
| 16 |
-
--ServerApp.disable_check_xsrf=True \
|
| 17 |
-
--LabApp.news_url=None \
|
| 18 |
-
--LabApp.check_for_updates_class="jupyterlab.NeverCheckForUpdate" \
|
| 19 |
-
--notebook-dir=$NOTEBOOK_DIR
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|