Download server/app.py from Jash05/test: direct link, hf CLI and curl.
- Browser
- Download file 210 Bytes
-
https://huggingface.co/spaces/Jash05/test/resolve/main/server/app.py
- Command line
-
hf download hf://spaces/Jash05/test/server/app.py
-
curl -L -o app.py https://huggingface.co/spaces/Jash05/test/resolve/main/server/app.py
210 Bytes
| import uvicorn | |
| from app.server.app import app | |
| def main() -> None: | |
| uvicorn.run("app.server.app:app", host="0.0.0.0", port=7860) | |
| if __name__ == "__main__": | |
| main() | |
| __all__ = ["app", "main"] | |