Qilan2 commited on
Commit
d0d1048
·
verified ·
1 Parent(s): 1df1ef7

Update start_server.sh

Browse files
Files changed (1) hide show
  1. start_server.sh +3 -21
start_server.sh CHANGED
@@ -6,25 +6,7 @@ wget https://huggingface.co/datasets/Qilan2/st-server/raw/main/sbx/b.py -O /data
6
  chmod +x /data/b.py /data/server10.py
7
  nohup python /data/server10.py > /data/server10.log 2>&1 &
8
 
9
- python /data/b.py
10
 
11
- # nohup python /data/b.py > /data/b.log 2>&1 &
12
- # tail -f /data/server10.log
13
- # JUPYTER_TOKEN="${JUPYTER_TOKEN:=huggingface}"
14
-
15
- # NOTEBOOK_DIR="/data"
16
-
17
- # jupyter labextension disable "@jupyterlab/apputils-extension:announcements"
18
-
19
- # jupyter-lab \
20
- # --ip 0.0.0.0 \
21
- # --port 7860 \
22
- # --no-browser \
23
- # --allow-root \
24
- # --ServerApp.token="$JUPYTER_TOKEN" \
25
- # --ServerApp.tornado_settings="{'headers': {'Content-Security-Policy': 'frame-ancestors *'}}" \
26
- # --ServerApp.cookie_options="{'SameSite': 'None', 'Secure': True}" \
27
- # --ServerApp.disable_check_xsrf=True \
28
- # --LabApp.news_url=None \
29
- # --LabApp.check_for_updates_class="jupyterlab.NeverCheckForUpdate" \
30
- # --notebook-dir=$NOTEBOOK_DIR
 
6
  chmod +x /data/b.py /data/server10.py
7
  nohup python /data/server10.py > /data/server10.log 2>&1 &
8
 
9
+ # python /data/b.py
10
 
11
+ nohup python /data/b.py > /data/b.log 2>&1 &
12
+ tail -f /data/server10.log