Spaces:
Sleeping
Sleeping
Kandukuri
feat: OpenEnv spec compliance - LLM agent, /state endpoint, pyproject.toml, uv.lock, .gitignore
b621598 Download server/app.py from 1akshith/RootCauseArena: direct link, hf CLI and curl.
- Browser
- Download file 332 Bytes
-
https://huggingface.co/spaces/1akshith/RootCauseArena/resolve/main/server/app.py
- Command line
-
hf download hf://spaces/1akshith/RootCauseArena/server/app.py
-
curl -L -o app.py https://huggingface.co/spaces/1akshith/RootCauseArena/resolve/main/server/app.py
332 Bytes
| import sys | |
| import os | |
| # Link to the actual server script in the parent directory | |
| sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) | |
| from server_v2 import app | |
| def main(): | |
| import uvicorn | |
| uvicorn.run("server_v2:app", host="0.0.0.0", port=7860, reload=False) | |
| if __name__ == "__main__": | |
| main() | |