Spaces:
Running
Running
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
```
|