Spaces:
Sleeping
Sleeping
Download run.py from Ba7ath-Project/ahlya: direct link, hf CLI and curl.
- Browser
- Download file 216 Bytes
-
https://huggingface.co/spaces/Ba7ath-Project/ahlya/resolve/main/run.py
- Command line
-
hf download hf://spaces/Ba7ath-Project/ahlya/run.py
-
curl -L -o run.py https://huggingface.co/spaces/Ba7ath-Project/ahlya/resolve/main/run.py
216 Bytes
| import uvicorn | |
| from app.main import app | |
| if __name__ == "__main__": | |
| # 3. Lancement du serveur | |
| print("🚀 API en cours de démarrage sur le port 7860...") | |
| uvicorn.run(app, host="0.0.0.0", port=7860) |