This example shows you how to use Mesop and Flask together
This project uses uv
so you will need to install it.
You can run it like this:
uv run main.py
You can use gunicorn
to run the app in production mode:
uv run gunicorn main:combined_app
Note:
uv run
is just a wrapper to use the gunicorn command with the uv virtual environment.