PicScribe AI is a Streamlit application that leverages Google's Generative AI to answer questions about images. This project utilizes environment variables for secure API key management and provides a user-friendly interface for uploading images and querying the AI model.
Upload an image in JPG, PNG, or JPEG format. Ask a question related to the uploaded image. Get a response generated by Google's Generative AI. Installation To run this project locally, follow these steps:
Python 3.7 or higher Streamlit Pillow google-generativeai dotenv
git clone https://github.com/yourusername/PicScribe-AI.git
cd PicScribe-AI
pip install -r requirements.txt
Create a .env file in the project root directory and add your Google API key: GOOGLE_API_KEY=your_google_api_key
To start the Streamlit app, run the following command:
streamlit run app.py
This will open a new tab in your default web browser with the PicScribe AI application.
picScribe.mp4
Contributions are welcome! Please open an issue or submit a pull request for any changes.
This project is licensed under the MIT License. See the LICENSE file for details.
For any inquiries, please contact [email protected].