Spaces:
Sleeping
Sleeping
Commit History
-
fix: add main() function and if __name__ guard for direct script execution
OpenEnv Contributor- Add main() function to server/app.py for callable entry point - Add if __name__ == '__main__' guard for direct Python script execution - Ensures server/app.py can run as both Uvicorn module and standalone script - Fixes multi-mode deployment validation requirementsd9abbc1 -
refactor: full OpenEnv REST API compliance with FastAPI + strict 0.1-0.9 scoring
OpenEnv Contributor- Replace dummy_server.py with production FastAPI app implementing step()/reset()/state() endpoints - Add typed Pydantic models: Observation, Action, Reward (required by OpenEnv spec) - Scale final scores to strict [0.1, 0.9] boundary per hackathon requirements - Update Dockerfile to run Uvicorn with FastAPI instead of dummy HTTP server - Add fastapi and uvicorn dependencies to requirements.txt - Guarantee automated HF Space ping returns 200 + /reset endpoint responds correctly - Ready for OpenEnv evaluation pipeline on Hugging Face Spacesd73d6cb
-
fix(deploy): ensure HTTP response returns 200 explicitly on /reset endpoint for HF spaces
OpenEnv Contributore90b82d -
fix(build): add server entrypoint, required dependency and uv lockfile for multi-mode deployment
OpenEnv Contributor14d067c