Spaces:
Running
Running
| """ | |
| Production entry point — used by gunicorn. | |
| Calls init() so the RAG pipeline and OpenAI clients are ready before | |
| the first request arrives. app.py's own __main__ block is skipped by gunicorn. | |
| """ | |
| from app import app, init | |
| init() | |