Spaces:
Sleeping
Sleeping
Download server/app.py from CoBeDigger/DataEngEnv: direct link, hf CLI and curl.
- Browser
- Download file 198 Bytes
-
https://huggingface.co/spaces/CoBeDigger/DataEngEnv/resolve/main/server/app.py
- Command line
-
hf download hf://spaces/CoBeDigger/DataEngEnv/server/app.py
-
curl -L -o app.py https://huggingface.co/spaces/CoBeDigger/DataEngEnv/resolve/main/server/app.py
198 Bytes
| """ | |
| OpenEnv-required server entry point. | |
| """ | |
| import uvicorn | |
| from app.main import app | |
| def main(): | |
| uvicorn.run("app.main:app", host="0.0.0.0", port=8000) | |
| if __name__ == "__main__": | |
| main() | |