#!/bin/bash # 1. Start the FastAPI backend in the background on port 8000 # (Your Streamlit app already points to http://localhost:8000/api/v1) uvicorn main:app --host 0.0.0.0 --port 8000 & # 2. Start the Streamlit frontend on port 7860 (Hugging Face Default) streamlit run frontend/app.py --server.port 7860 --server.address 0.0.0.0