Spaces:
Sleeping
Sleeping
File size: 441 Bytes
961fa8c |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
#!/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
|