A simple Python Flask web application that helps electronics and robotics students select the right components for their projects using Gemini AI.
- Requirement Analysis: Describe your project requirement (e.g., "Drive DC motor with ESP32").
- AI-Powered Suggestions: Gets recommendations from Google's Gemini AI including:
- Suitable components
- Why they are appropriate
- Key specifications to check
- Common beginner mistakes
- Clean UI: Minimal and modern interface.
- Error Handling: Graceful handling of API errors and empty inputs.
- Python 3.8 or higher
- A Google Cloud Project with the Gemini API enabled
- A Gemini API Key
-
Clone or Download the repository to your local machine.
-
Install Dependencies:
pip install -r requirements.txt
-
Configure Environment Variables: Create a
.envfile in the project root and add your Gemini API key:GEMINI_API_KEY=your_api_key_here -
Run the Application:
python app.py
-
Access the App: Open your browser and navigate to
http://127.0.0.1:5000.
- Enter your project requirement in the text box.
- Click "Get Suggestions".
- Review the AI-generated component recommendations and advice.