File size: 1,152 Bytes
8425f69
 
 
 
 
 
 
 
bfae11e
8425f69
bfae11e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8425f69
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
---
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
```