https://github.com/nawap1/gemini-image-qa
An engaging web app that lets you upload images and interact with them using Google's Gemini AI. 🖼️🤖 Ask questions, get real-time insights, and enjoy a sleek chat interface with history and timestamps. Built with Streamlit for a responsive experience, this app combines advanced AI with user-friendly design. 🚀
https://github.com/nawap1/gemini-image-qa
computer-vision gemini pillow python3 streamlit
Last synced: 2 months ago
JSON representation
An engaging web app that lets you upload images and interact with them using Google's Gemini AI. 🖼️🤖 Ask questions, get real-time insights, and enjoy a sleek chat interface with history and timestamps. Built with Streamlit for a responsive experience, this app combines advanced AI with user-friendly design. 🚀
- Host: GitHub
- URL: https://github.com/nawap1/gemini-image-qa
- Owner: Nawap1
- Created: 2024-12-21T05:20:37.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-21T08:26:08.000Z (over 1 year ago)
- Last Synced: 2025-04-08T13:21:14.785Z (about 1 year ago)
- Topics: computer-vision, gemini, pillow, python3, streamlit
- Language: Jupyter Notebook
- Homepage:
- Size: 1.97 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Advanced Image Q&A with Gemini
An interactive web application that allows users to upload images and ask questions about them using Google's Gemini AI model.
## Features
- Interactive Q&A with the uploaded images
- Real-time chat interface with timestamp
- History tracking of previous questions and answers
- Responsive UI with Streamlit
- Error handling and input validation
- Custom styled chat messages
## Requirements
- Python 3.8 or higher
- Google Cloud account with Gemini API access
- Streamlit
- PIL (Python Imaging Library)
- python-dotenv
## Installation
1. Clone this repository:
```bash
git clone https://github.com/yourusername/yourrepository.git
```
2. Install dependencies:
```bash
pip install -r requirements.txt
```
3. Create a `.env` file in the project root with your Gemini API key:
```
GEMINI_API_KEY=your_api_key_here
```
4. Run the Streamlit app:
```bash
streamlit run app.py
```
## Usage
1. Upload an image using the file uploader
2. Type your question about the image in the text input and press enter
## Demo
https://github.com/user-attachments/assets/aa99ee5e-ea16-4f59-9fe4-6c8316a10eaa