gen-ai-chatbot / README.md
rudra0410hf's picture
Update README.md
bfae11e verified

A newer version of the Streamlit SDK is available: 1.42.2

Upgrade
metadata
title: Gen Ai Chatbot
emoji: πŸŒ–
colorFrom: blue
colorTo: gray
sdk: streamlit
sdk_version: 1.42.0
app_file: app.py
pinned: true

πŸ€– Gemini-Pro Boty 😎

A chatbot powered by Google Gemini-Pro and Streamlit to interact with users in real-time.

πŸš€ Features

  • Chat with Google Gemini-Pro (Gemini 2.0 Flash)
  • User-friendly Streamlit UI
  • Maintains conversation history
  • Easy setup with .env file for API keys

πŸ“‚ Project Structure

πŸ“‚ your-repo-name
 β”œβ”€β”€ .gitignore
 β”œβ”€β”€ .env
 β”œβ”€β”€ README.md
 β”œβ”€β”€ requirements.txt
 β”œβ”€β”€ app.py

πŸ› οΈ Installation & Setup

1️⃣ Clone the Repository

git clone https://github.com/your-repo-name.git
cd your-repo-name

2️⃣ Create a Virtual Environment

python -m venv venv
source venv/bin/activate  # On macOS/Linux
venv\Scripts\activate     # On Windows

3️⃣ Install Dependencies

pip install -r requirements.txt

4️⃣ Set Up API Key

Create a .env file in the root directory and add:

GOOGLE_API_KEY=your_google_api_key

5️⃣ Run the Streamlit App

streamlit run app.py