This repository hosts code for a Streamlit web application that harnesses the power of Google's Generative AI model, Gemini Pro, to answer questions based on user input. The application provides users with an intuitive interface to ask questions on a wide range of topics and receive informative responses generated by Gemini Pro.
- User-friendly Interface: The Streamlit web application offers a simple and interactive interface for users to input their questions.
- Gemini Pro Integration: The application leverages Gemini Pro, Google's advanced Generative AI model, to generate accurate and contextually relevant answers to user queries.
- Real-time Response: Users receive responses to their questions in real-time, enhancing the user experience and engagement.
- Scalability: The application is designed to handle a high volume of user queries efficiently, ensuring smooth performance even during peak usage periods.
- Customization: The codebase can be easily customized and extended to integrate additional features or fine-tune the functionality according to specific requirements.
To run the Streamlit web application locally, follow these steps:
-
Clone this repository to your local machine. Key Features:
-
Set up environment variables using a .env file (refer to .env.example).
Requirements: 3. Install the necessary dependencies by running:
pip install -r requirements.txt
- Run the Streamlit application using the following command:
streamlit run app.py
- Access the web application through the provided URL, typically
http://localhost:8501
, in your web browser.
The application requires Python 3.11 along with the dependencies listed in the requirements.txt
file. Ensure that you have the necessary libraries installed before running the application.
Contributions to this project are welcome. If you encounter any issues, have suggestions for improvements, or wish to add new features, please feel free to open an issue or submit a pull request.
We acknowledge the contribution of Google for developing the Gemini Pro Generative AI model and making it available for use. Special thanks to the Streamlit team for providing an excellent platform for building interactive web applications.
Feel free to customize this README according to your project's specific details and preferences. This repository contains code for a Streamlit web application that leverages Google's Generative AI model (Gemini Pro) to answer questions based on user input. The app allows users to input questions and receive generated responses from the model. It integrates with the Google Generative AI API and provides a simple and interactive interface for exploring the capabilities of the model.