Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
goingyt
/
Terminal
like
0
Running
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
6badde7
Terminal
/
app
/
main.py
goingyt
Create app/main.py
6badde7
verified
3 months ago
raw
Copy download link
history
blame
Safe
201 Bytes
from
flask
import
Flask, render_template
app = Flask(__name__)
@app.route(
'/'
)
def
index
():
return
render_template(
'index.html'
)
if
__name__ ==
'__main__'
:
app.run(host=
'0.0.0.0'
, port=
7860
)