from app import app import uvicorn from uvicorn.middleware.wsgi import WSGIMiddleware # Create ASGI app by wrapping the Flask WSGI app asgi_app = WSGIMiddleware(app) if __name__ == "__main__": # This block will be executed when running this file directly # Useful for local development with: python wsgi.py uvicorn.run(asgi_app, host="0.0.0.0", port=7860)