Spaces:
Running
Running
Refactor session bootstrap handling and Streamlit app startup: Update start.sh to launch the app using uvicorn, enhance session bootstrap logic in session_bootstrap.py with retry mechanisms for transient errors, and modify streamlit_app.py to conditionally use a new route for session initialization. Add tests for retry behavior and error handling in session bootstrap payload generation.
38bbab9 | set -e | |
| echo "Downloading required model files..." | |
| uv run src/agent/agent.py download-files | |
| echo "Starting LiveKit agent..." | |
| uv run src/agent/agent.py start & | |
| echo "Waiting 30 seconds before starting Streamlit..." | |
| sleep 30 | |
| echo "Starting Streamlit app..." | |
| exec uv run python -m src.streamlit_launcher | |