Download app.py from Vvbbnnn/Bc: direct link, hf CLI and curl.
- Browser
- Download file 313 Bytes
-
https://huggingface.co/spaces/Vvbbnnn/Bc/resolve/main/app.py
- Command line
-
hf download hf://spaces/Vvbbnnn/Bc/app.py
-
curl -L -o app.py https://huggingface.co/spaces/Vvbbnnn/Bc/resolve/main/app.py
313 Bytes
| from flask import Flask | |
| app = Flask(__name__) | |
| def home(): | |
| return """ | |
| <h1>๐ HF Space is Working!</h1> | |
| <p>Hosted successfully with Docker.</p> | |
| """ | |
| def health(): | |
| return {"status": "ok"} | |
| if __name__ == "__main__": | |
| app.run(host="0.0.0.0", port=7860) |