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.