Download app.py from NESBES/wensites: direct link, hf CLI and curl.
- Browser
- Download file 269 Bytes
-
https://huggingface.co/spaces/NESBES/wensites/resolve/main/app.py
- Command line
-
hf download hf://spaces/NESBES/wensites/app.py
-
curl -L -o app.py https://huggingface.co/spaces/NESBES/wensites/resolve/main/app.py
269 Bytes
| from flask import Flask, render_template | |
| import os | |
| app = Flask(__name__) | |
| def home(): | |
| return "Hello Youtube!" | |
| # More routes can be added here | |
| if __name__ == "__main__": | |
| # HF Spaces specific configuration | |
| app.run(host='0.0.0.0', port=7860) |