kidcoconut commited on
Commit
09fd2b4
·
1 Parent(s): 19d6e02

updated util_ start streamlit script to use port 49400

Browse files
util_startLocal_streamlitFastApi.sh CHANGED
@@ -8,14 +8,14 @@
8
 
9
  #--- for streamlit; external 49400; internal 39400
10
  echo "INFO: starting streamlit ..."
11
- streamlit run app.py --server.port=39400 --server.maxUploadSize=2000 &
12
 
13
  #--- for fastapi; external 49500; internal 39500
14
  echo "INFO: starting fastapi ..."
15
- uvicorn main:app --reload --workers 1 --host 0.0.0.0 --port 39500 &
16
 
17
  #--- wait for any process to exit
18
  wait -n
19
 
20
  #--- Exit with status of process that exited first
21
- exit $?
 
8
 
9
  #--- for streamlit; external 49400; internal 39400
10
  echo "INFO: starting streamlit ..."
11
+ streamlit run app.py --server.port=49400 --server.maxUploadSize=2000 &
12
 
13
  #--- for fastapi; external 49500; internal 39500
14
  echo "INFO: starting fastapi ..."
15
+ uvicorn main:app --reload --workers 1 --host 0.0.0.0 --port 49500 &
16
 
17
  #--- wait for any process to exit
18
  wait -n
19
 
20
  #--- Exit with status of process that exited first
21
+ exit $?