| """Application entrypoint for the structural rewrite API.""" | |
| from __future__ import annotations | |
| import os | |
| import uvicorn | |
| if __name__ == "__main__": | |
| host = os.environ.get("HOST", "0.0.0.0") | |
| port = int(os.environ.get("PORT", "7860") or "7860") | |
| uvicorn.run("app.main:app", host=host, port=port, reload=False) | |