Download main.py from yiset/hfdeploy: direct link, hf CLI and curl.
- Browser
- Download file 317 Bytes
-
https://huggingface.co/spaces/yiset/hfdeploy/resolve/main/main.py
- Command line
-
hf download hf://spaces/yiset/hfdeploy/main.py
-
curl -L -o main.py https://huggingface.co/spaces/yiset/hfdeploy/resolve/main/main.py
317 Bytes
| #!/usr/bin/env python3 | |
| """ | |
| HuggingFace Space Deployer | |
| A web application for deploying code to HuggingFace Spaces with one click. | |
| """ | |
| import uvicorn | |
| if __name__ == "__main__": | |
| uvicorn.run( | |
| "app.routes:app", | |
| host="0.0.0.0", | |
| port=7860, | |
| reload=False, | |
| log_level="info" | |
| ) | |