Spaces:
Runtime error
Runtime error
vineetshukla.work@gmail.com
feat: add pyproject.toml, server entry point, uv.lock for openenv validate compliance
1adae3f Download server/app.py from Pandaisop/codesensei-env: direct link, hf CLI and curl.
- Browser
- Download file 488 Bytes
-
https://huggingface.co/spaces/Pandaisop/codesensei-env/resolve/main/server/app.py
- Command line
-
hf download hf://spaces/Pandaisop/codesensei-env/server/app.py
-
curl -L -o app.py https://huggingface.co/spaces/Pandaisop/codesensei-env/resolve/main/server/app.py
488 Bytes
| """ | |
| Server entry point — re-exports from env.server.app. | |
| OpenEnv expects server/app.py at the project root with a main() function. | |
| This module delegates to our actual server at env/server/app.py. | |
| """ | |
| import uvicorn | |
| from env.server.app import app # noqa: F401 | |
| __all__ = ["app"] | |
| def main(): | |
| """Run the CodeSensei server.""" | |
| uvicorn.run( | |
| "env.server.app:app", | |
| host="0.0.0.0", | |
| port=7860, | |
| workers=2, | |
| ) | |
| if __name__ == "__main__": | |
| main() | |