Install required packages using pip install -r requirements.txt Then read app.py to understand the code. There's an example at the end.