Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
chipling
/
fasthost
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
fasthost
/
examples
/
flask
/
main.py
chipling
Upload 26 files
65d3b67
verified
about 1 month ago
raw
Copy download link
history
blame
contribute
delete
216 Bytes
from
flask
import
Flask
from
flask_cors
import
CORS
app = Flask(__name__)
CORS(app)
@app.route(
'/'
)
def
index
():
return
"Welcome to the Flask app!"
@app.route(
'/hello'
)
def
hello
():
return
"Hello, World!"