Deployed Link : https://ai-powered-commenter.streamlit.app/
This project is purely built on python using Streamlit framework and Gemini API. You just need to select a Mood and click or upload your photo to it and then get an AI Powered comment. Don't take the comment seriously as it is AI.
- Python 3.8 or higher
- pip (Python package manager)
- A Google Gemini API key
-
Clone the repository
git clone https://github.com/AryanV-Coder/AI-Powered-Commentor.git cd AI-Powered-Commentor -
Create a virtual environment (recommended)
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
-
Install required dependencies
pip install -r requirements.txt
-
Set up your Gemini API key
- Get your API key from Google AI Studio
- Create a
.envfile in the project root or configure it in Streamlit secrets - Add your API key to the configuration
-
Run the application
streamlit run app.py
-
Access the app
- Open your browser and navigate to
http://localhost:8501 - Select a mood, upload or capture a photo, and get your AI-powered comment!
- Open your browser and navigate to
- If you encounter any package installation issues, ensure you have the latest version of pip:
pip install --upgrade pip - Make sure your Python version is compatible (3.8+)