Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
RaniyaK
/
Pneumonia-XRay-Classifier
like
1
Sleeping
App
Files
Files
Community
99814b7
Pneumonia-XRay-Classifier
/
app.py
RaniyaK
Update app.py
d350069
verified
about 2 months ago
raw
Copy download link
history
blame
Safe
221 Bytes
from
flask
import
Flask, jsonify
app = Flask(__name__)
@app.route(
'/api/data'
)
def
get_data
():
return
jsonify({
"message"
:
"Hello from Flask!"
})
if
__name__ ==
"__main__"
:
app.run(port=
3000
)
# Run on port 5000