Spaces:
Runtime error
Runtime error
Download entrypoint.sh from GABRIELRRP/PROCURA: direct link, hf CLI and curl.
- Browser
- Download file 350 Bytes
-
https://huggingface.co/spaces/GABRIELRRP/PROCURA/resolve/main/entrypoint.sh
- Command line
-
hf download hf://spaces/GABRIELRRP/PROCURA/entrypoint.sh
-
curl -L -o entrypoint.sh https://huggingface.co/spaces/GABRIELRRP/PROCURA/resolve/main/entrypoint.sh
350 Bytes
| # 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 | |