File size: 254 Bytes
64f9ec0
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

# Start the FastAPI server in the background
uvicorn api:app --host 0.0.0.0 --port 8000 &

# Wait for a few seconds to ensure FastAPI starts
sleep 5

# Start the Streamlit app
streamlit run app.py --server.port 7860 --server.address 0.0.0.0