Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
heboya8
/
flask-demo
like
0
Paused
App
Files
Files
Community
1
Fetching metadata from the HF Docker repository...
ebf1cc6
flask-demo
/
app.py
heboya8
Create app.py
7c563f8
verified
29 days ago
raw
Copy download link
history
blame
Safe
200 Bytes
from
flask
import
Flask, render_template
app = Flask(__name__)
@app.route(
'/'
)
def
home
():
return
render_template(
'index.html'
)
if
__name__ ==
'__main__'
:
app.run(host=
'0.0.0.0'
, port=
7860
)