Spaces:
Paused
Paused
Update start_server.sh
Browse files- 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 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
|
|
|
|
|
| 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
|