jupyterlab / run.sh
narugo's picture
dev(narugo): init jupyter lab
32d7e67
raw
history blame
442 Bytes
#!/bin/bash
PASSWORD="${PASSWORD:=huggingface}"
echo "Starting Jupyter Lab with token $PASSWORD"
jupyter lab \
--ip=0.0.0.0 \
--port=7860 \
--no-browser \
--allow-root \
--NotebookApp.token=$PASSWORD \
--NotebookApp.tornado_settings="{'headers': {'Content-Security-Policy': 'frame-ancestors *'}}" \
--NotebookApp.cookie_options="{'SameSite': 'None', 'Secure': True}" \
--NotebookApp.disable_check_xsrf=True