Make use of state of the art vision models toa analyze handwritten documents.
This Streamlit app demonstrates how to use the Google GenerativeAI (Gemini) model to generate responses based on an input prompt and an uploaded image.
Before running the app, ensure you have the following installed:
Python 3.x
Streamlit
Pillow (PIL) for image handling
google-generativeai package for accessing Google's AI capabilities
Run the command pip install streamlit pillow google-generativeai
to install dependencies
streamlit run app.py