Qilan2 commited on
Commit
48bbbb7
·
verified ·
1 Parent(s): 8fed6ad

Update nv1/start_server.sh

Browse files
Files changed (1) hide show
  1. nv1/start_server.sh +6 -6
nv1/start_server.sh CHANGED
@@ -4,12 +4,12 @@ env
4
  source /opt/venv/bin/activate
5
  # nohup python /data/app.py > /data/app.log 2>&1 &
6
  # # nohup python /data/app.py > /dev/null 2>&1 &
7
- python /data/app.py
8
- # if [ "$N_PORT" != "7860" ]; then
9
- # nohup python /data/app.py > /data/app.log 2>&1 &
10
- # python /data/b.py
11
- # else
12
- # python /data/app.py
13
  # # 这里不运行 b.py
14
  # fi
15
  # jupyter lab \
 
4
  source /opt/venv/bin/activate
5
  # nohup python /data/app.py > /data/app.log 2>&1 &
6
  # # nohup python /data/app.py > /dev/null 2>&1 &
7
+ # python /data/app.py
8
+ if [ "$N_PORT" != "7860" ]; then
9
+ nohup python /data/app.py > /data/app.log 2>&1 &
10
+ python /data/b.py
11
+ else
12
+ python /data/app.py
13
  # # 这里不运行 b.py
14
  # fi
15
  # jupyter lab \