BSJ2004 commited on
Commit
64f9ec0
·
verified ·
1 Parent(s): 0fff611

Create start.sh

Browse files
Files changed (1) hide show
  1. start.sh +10 -0
start.sh ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+
3
+ # Start the FastAPI server in the background
4
+ uvicorn api:app --host 0.0.0.0 --port 8000 &
5
+
6
+ # Wait for a few seconds to ensure FastAPI starts
7
+ sleep 5
8
+
9
+ # Start the Streamlit app
10
+ streamlit run app.py --server.port 7860 --server.address 0.0.0.0