Integration with flask app

I think my query got answered here Streamlit restful app