HansBug commited on
Commit
961fa8c
1 Parent(s): aac2e5e

Create run.sh

Browse files
Files changed (1) hide show
  1. run.sh +14 -0
run.sh ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+
3
+ PASSWORD="${PASSWORD:=huggingface}"
4
+ echo "Starting Jupyter Lab with token $PASSWORD"
5
+
6
+ jupyter lab \
7
+ --ip=0.0.0.0 \
8
+ --port=7860 \
9
+ --no-browser \
10
+ --allow-root \
11
+ --NotebookApp.token=$PASSWORD \
12
+ --NotebookApp.tornado_settings="{'headers': {'Content-Security-Policy': 'frame-ancestors *'}}" \
13
+ --NotebookApp.cookie_options="{'SameSite': 'None', 'Secure': True}" \
14
+ --NotebookApp.disable_check_xsrf=True