This is a simple chatbot application using Gradio and Google's GenerativeAI API. The chatbot leverages the Gemini Pro model from GenerativeAI to provide interactive conversations.
- Interactive chat interface powered by Gradio.
- Integration with Google's GenerativeAI for natural language processing.
- Clear button for resetting the chat history.
- Python 3.10
- Gradio
- Google's GenerativeAI API Key
-
Install the required packages from requirements.txt file
-
Obtain an API key from Google's GenerativeAI.
-
Configure the API key in your application:
genai.configure(api_key="Your_GenerativeAI_API_Key")
-
Run the application:
python app.py
-
Open the provided Gradio interface in your web browser.
-
Enter a message in the "User" textbox and click the "Chat" button to interact with the chatbot.
-
Use the "Clear" button to reset the chat history.
- Configure the GenerativeAI API key in your application as mentioned in the installation steps.