Spaces:
Sleeping
Sleeping
Download server/app.py from kumar6591/data-quality-env: direct link, hf CLI and curl.
- Browser
- Download file 297 Bytes
-
https://huggingface.co/spaces/kumar6591/data-quality-env/resolve/main/server/app.py
- Command line
-
hf download hf://spaces/kumar6591/data-quality-env/server/app.py
-
curl -L -o app.py https://huggingface.co/spaces/kumar6591/data-quality-env/resolve/main/server/app.py
297 Bytes
| from __future__ import annotations | |
| import os | |
| import uvicorn | |
| from env.app import app | |
| def main() -> None: | |
| host = os.environ.get("HOST", "0.0.0.0") | |
| port = int(os.environ.get("PORT", "7860")) | |
| uvicorn.run("server.app:app", host=host, port=port) | |
| if __name__ == "__main__": | |
| main() | |