from waitress import serve
import app  # Este es tu archivo app.py

serve(app.app, host='0.0.0.0', port=5214, threads=8)