Update jupyter.sh
Browse files- jupyter.sh +1 -2
jupyter.sh
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
#!/bin/bash
|
| 2 |
JUPYTER_TOKEN="${JUPYTER_TOKEN:=huggingface}"
|
| 3 |
|
| 4 |
-
NOTEBOOK_DIR="./
|
| 5 |
|
| 6 |
jupyter labextension disable "@jupyterlab/apputils-extension:announcements"
|
| 7 |
|
|
@@ -10,7 +10,6 @@ jupyter-lab \
|
|
| 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 \
|
|
|
|
| 1 |
#!/bin/bash
|
| 2 |
JUPYTER_TOKEN="${JUPYTER_TOKEN:=huggingface}"
|
| 3 |
|
| 4 |
+
NOTEBOOK_DIR="./"
|
| 5 |
|
| 6 |
jupyter labextension disable "@jupyterlab/apputils-extension:announcements"
|
| 7 |
|
|
|
|
| 10 |
--port 7860 \
|
| 11 |
--no-browser \
|
| 12 |
--allow-root \
|
|
|
|
| 13 |
--ServerApp.tornado_settings="{'headers': {'Content-Security-Policy': 'frame-ancestors *'}}" \
|
| 14 |
--ServerApp.cookie_options="{'SameSite': 'None', 'Secure': True}" \
|
| 15 |
--ServerApp.disable_check_xsrf=True \
|