Spaces:
Runtime error
Runtime error
File size: 334 Bytes
03b7303 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
from apis import blueprints
from flask import Flask, request, jsonify
# Create server and register apis
app = Flask(__name__)
for bp in blueprints:
app.register_blueprint(bp)
@app.route("/")
def hello_world():
return "<p>Flask is working</p>"
if __name__ == '__main__':
app.run(host="0.0.0.0", port=5000, debug=True)
|