Spaces:
Runtime error
Runtime error
Download run.py from wilenPxs/pythonise-exercice: direct link, hf CLI and curl.
- Browser
- Download file 320 Bytes
-
https://huggingface.co/spaces/wilenPxs/pythonise-exercice/resolve/main/run.py
- Command line
-
hf download hf://spaces/wilenPxs/pythonise-exercice/run.py
-
curl -L -o run.py https://huggingface.co/spaces/wilenPxs/pythonise-exercice/resolve/main/run.py
320 Bytes
| """Point d'entrée : `python run.py` → http://127.0.0.1:5000 | |
| (équivalent : `python -m app`). Reloader OFF — FAISS/HF lourds à charger.""" | |
| from app import create_app | |
| from app.config import HOST, PORT | |
| app = create_app() | |
| if __name__ == "__main__": | |
| app.run(host=HOST, port=PORT, debug=True, use_reloader=False) | |