hcm21 / server /app.py
ParetoOptimal's picture
Deploy to HF Spaces + add TRL/Unsloth training notebook
c7d603c
Raw
History Blame Contribute Delete
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()