Spaces:
Runtime error
Runtime error
| # Start the API server in the background | |
| echo "Starting API server..." | |
| /app/.venv/bin/uvicorn core.main:app --host 0.0.0.0 --port 8000 & | |
| # Wait a bit for the API server to start | |
| sleep 5 | |
| # Start the Gradio interface | |
| echo "Starting Gradio interface..." | |
| uv run python gradio_app.py | |
| # Keep the container running | |
| wait |