multimodalart HF staff commited on
Commit
189a1b6
1 Parent(s): ae8211c

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 '' '206s/.*/ port = 39775/' 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 '/port = find_free_port()/c\ port = 39775' your_file.py
9
 
10
  # Execute the Python server command
11
  exec python /app/server/server.py