Qilan2 commited on
Commit
5023c76
·
verified ·
1 Parent(s): d5fe4d5

Update start_server.sh

Browse files
Files changed (1) hide show
  1. start_server.sh +2 -11
start_server.sh CHANGED
@@ -10,14 +10,5 @@
10
 
11
  # # nohup python /data/b.py > /data/b.log 2>&1 &
12
  # # tail -f /data/server10.log
13
-
14
- nohup /opt/venv/bin/python /data/server.py > /data/server10.log 2>&1 &
15
-
16
- exec jupyter lab \
17
- --ip=0.0.0.0 \
18
- --port=7860 \
19
- --no-browser \
20
- --allow-root \
21
- --notebook-dir=/data \
22
- --NotebookApp.token=qilan \
23
- --ServerApp.disable_check_xsrf=True
 
10
 
11
  # # nohup python /data/b.py > /data/b.log 2>&1 &
12
  # # tail -f /data/server10.log
13
+ source /opt/venv/bin/activate
14
+ nohup python /data/server.py > /data/server10.log 2>&1 &