Spaces:
Paused
Paused
Download server/app.py from ParetoOptimal/hcm21: direct link, hf CLI and curl.
- Browser
- Download file 467 Bytes
-
https://huggingface.co/spaces/ParetoOptimal/hcm21/resolve/main/server/app.py
- Command line
-
hf download hf://spaces/ParetoOptimal/hcm21/server/app.py
-
curl -L -o app.py https://huggingface.co/spaces/ParetoOptimal/hcm21/resolve/main/server/app.py
467 Bytes
| """FastAPI application entry point for the HR Productivity Environment. | |
| This module re-exports the app from hr_env.server.app for OpenEnv convention | |
| compatibility (openenv validate expects server/app.py at the project root). | |
| """ | |
| import uvicorn | |
| from hr_env.server.app import app # noqa: F401 | |
| __all__ = ["app"] | |
| def main(): | |
| """Run the environment server.""" | |
| uvicorn.run("server.app:app", host="0.0.0.0", port=8000) | |
| if __name__ == "__main__": | |
| main() | |