# Run a test server.
from app import app
app.run(host='0.0.0.0', port=5000, debug=False)

# Run a test server.
from app import app
import os

port = int(os.environ.get("PORT", 5000))
app.run(host='0.0.0.0', port=port, debug=True)

Add os import to fix port from env
Add os import to fix port from env
