- Python 3.8+
- An API key for Gemini (Google Generative AI)
-
Clone the repository:
git clone https://github.com/your-username/ethical-assistant.git cd ethical-assistant -
Set up a virtual environment:
python -m venv venv
-
Activate the virtual environment:
-
On Windows:
venv\Scripts\activate
-
On macOS and Linux:
source venv/bin/activate
-
-
Install the required Python libraries:
pip install -r requirements.txt
-
Create a
.streamlit/secrets.tomlfile in the root directory of your project, and add your Gemini API key:GEMINI_API_KEY = "your_api_key_here"
Run the Streamlit app:
streamlit run Home.pyOpen the URL shown in your browser (usually http://localhost:8501).
Type your questions about ethical shopping or brands in the chat interface and get responses generated by Gemini.
Contributions are welcome! Feel free to open issues or submit pull requests for bug fixes and improvements.
This project is licensed under the MIT License. See the LICENSE file for details.