BSJ2004's picture
Create start.sh
64f9ec0 verified
raw
history blame contribute delete
254 Bytes
#!/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