Download app.py from ServerX/game.onl: direct link, hf CLI and curl.
- Browser
- Download file 253 Bytes
-
https://huggingface.co/spaces/ServerX/game.onl/resolve/main/app.py
- Command line
-
hf download hf://spaces/ServerX/game.onl/app.py
-
curl -L -o app.py https://huggingface.co/spaces/ServerX/game.onl/resolve/main/app.py
253 Bytes
| from flask import Flask, render_template_string | |
| app = Flask(__name__) | |
| with open('index.html', 'r') as f: | |
| html_content = f.read() | |
| def home(): | |
| return render_template_string(html_content) | |
| if __name__ == '__main__': | |
| app.run() |