Spaces:
Runtime error
Runtime error
Download app/__main__.py from wilenPxs/pythonise-exercice: direct link, hf CLI and curl.
- Browser
- Download file 220 Bytes
-
https://huggingface.co/spaces/wilenPxs/pythonise-exercice/resolve/main/app/__main__.py
- Command line
-
hf download hf://spaces/wilenPxs/pythonise-exercice/app/__main__.py
-
curl -L -o __main__.py https://huggingface.co/spaces/wilenPxs/pythonise-exercice/resolve/main/app/__main__.py
220 Bytes
| """`python -m app` → serveur de dev (reloader OFF : FAISS/HF lourds à charger).""" | |
| from app import create_app | |
| from app.config import HOST, PORT | |
| create_app().run(host=HOST, port=PORT, debug=True, use_reloader=False) | |