A Streamlit web application that allows users to chat with Google's GenerativeAI (Gemini-1.5-flash). The application enables users to interact with Gemini-1.5-flash in a conversational manner.
The Google Gemini-1.5-flash Chat Application is a Streamlit-based web interface that facilitates interactive conversations with Google's GenerativeAI. Users can ask questions or engage in dialogue, receiving responses generated by the powerful Gemini-1.5-flash model.
To get started with the project, follow the steps below.
- Google Generativeai
- Google API Key
- Streamlit
-
Clone the repository:
git clone https://github.com/abwahab175/Gemini-1.5-flash-chatbot.git cd Gemini-1.5-flash-chatbot
-
Install dependencies:
pip install -r requirements.txt
-
Set up your Google API Key:
- Create a project on the Google Cloud Console.
- Enable the GenerativeAI API.
- Create an API key and add it to your environment variables or a .env file.
-
Run the application:
streamlit run app.py
The application will be accessible at http://localhost:8501/.
- Open your web browser and navigate to http://localhost:8501/.
- Enter your message in the chat input box.
- Chat with Google Gemini-1.5-flash and view the responses in real-time.
Contributions to the Google Gemini-1.5-flash Chat Application are welcome! If you have suggestions, enhancements, or bug fixes, please follow the steps below:
- Fork the project.
- Create your feature branch (
git checkout -b feature/YourFeature
). - Commit your changes (
git commit -m 'Add some feature'
). - Push to the branch (
git push origin feature/YourFeature
). - Open a pull request.
Distributed under the MIT License. See LICENSE.txt
for more information.
- Abdul Wahab - abwahab175@gmail.com