Spaces:
Sleeping
Sleeping
| """ | |
| Thin shim that re-exports the FastAPI app from the data_cleaning_env package. | |
| openenv validate expects server/app.py with a def main() at the project root. | |
| """ | |
| from data_cleaning_env.server.app import app # noqa: F401 | |
| def main(host: str = "0.0.0.0", port: int = 8000) -> None: | |
| """Entry point for running the server.""" | |
| import uvicorn | |
| uvicorn.run(app, host=host, port=port) | |
| if __name__ == "__main__": | |
| main() | |