pn23/VideoDiffusionTesting
0
1#!/bin/bash2JUPYTER_TOKEN="${JUPYTER_TOKEN:=huggingface}"3 4echo "Starting Jupyter Lab with token $JUPYTER_TOKEN"5 6NOTEBOOK_DIR="/data"7 8jupyter-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_DIR20 