multimodalart HF staff commited on
Commit
0190a4f
1 Parent(s): b629f3e

Update start.sh

Browse files
Files changed (1) hide show
  1. start.sh +1 -1
start.sh CHANGED
@@ -5,7 +5,7 @@ nginx &
5
 
6
  echo "Starting the main application: python server.py"
7
 
8
- sed -i '/port = find_free_port()/c\ port = 39775' /app/server/server.py
9
 
10
  # Execute the Python server command
11
  exec python /app/server/server.py
 
5
 
6
  echo "Starting the main application: python server.py"
7
 
8
+ sed -i 's/^\(\s*\)port = find_free_port()/\1port = 39775/' /app/server/server.py
9
 
10
  # Execute the Python server command
11
  exec python /app/server/server.py