Spaces:
Runtime error
Runtime error
File size: 350 Bytes
4e9cc0e | 1 2 3 4 5 6 7 8 9 10 11 12 13 | #!/bin/bash
# Iniciar la API en segundo plano
echo "Iniciando Motor IA (FastAPI)..."
uvicorn api:app --host 0.0.0.0 --port 8000 &
# Esperar unos segundos para que la API levante bien
sleep 3
# Iniciar Streamlit en el puerto principal
echo "Iniciando Centro de Mando (Streamlit)..."
streamlit run app.py --server.port 7860 --server.address 0.0.0.0
|