Kamtera/testspace
0
1#!/bin/bash2JUPYTER_TOKEN="${JUPYTER_TOKEN:=huggingface}" 3 4echo "Starting Jupyter Lab with token $JUPYTER_TOKEN"5 6jupyter-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 --ServerApp.allow_origin='*' \16 --LabApp.news_url=None \17 --LabApp.check_for_updates_class="jupyterlab.NeverCheckForUpdate"