Spaces:
Runtime error
Runtime error
File size: 278 Bytes
4c2c4e8 |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
from flask import Flask
import os
from shakespeare_demo import make_demo
app = Flask(__name__)
@app.route("/")
def hello_world():
return make_demo()
if __name__ == "__main__":
port = int(os.environ.get('PORT', 5999))
app.run(debug=True, host='0.0.0.0', port=port) |