File size: 1,570 Bytes
4764693
434814b
4764693
434814b
 
8cc5c82
434814b
4764693
 
434814b
 
d71e3b1
434814b
 
 
 
 
 
d71e3b1
4764693
 
 
 
d71e3b1
1d1157d
4764693
 
d71e3b1
 
 
 
 
 
 
 
 
 
 
4764693
d71e3b1
4764693
d71e3b1
 
 
 
4764693
d71e3b1
 
 
 
4764693
d71e3b1
 
 
 
4764693
d71e3b1
4764693
d71e3b1
 
4764693
d71e3b1
4764693
d71e3b1
 
 
6082cbc
d71e3b1
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
59
60
61
62
63
64
65
66
67
68
69
---
title: Gemma Chat Interface
emoji: 🤖
colorFrom: indigo
colorTo: blue
sdk: gradio
python_version: 3.12
app_file: app.py
pinned: false
models:
  - google/gemma-2b
  - google/gemma-3b
  - google/gemma-7b
tags:
  - gemma
  - chat
  - language-model
  - code-generation
short_description: A friendly chat interface for Google's Gemma models.
---

# Gemma Chat Demo

A simple and friendly chat application powered by Google's Gemma AI models.

## Features

- 💬 Chat with Google's Gemma AI models right on your computer
- 🔄 Choose between different models:
  - gemma-3b: Balanced performance (recommended)
  - gemma-2b: Faster responses
  - gemma-7b: More capable but requires more resources
- 🧩 Different chat modes:
  - Question Answering: Get helpful answers to your questions
  - Text Generation: Continue any text or story
  - Code Completion: Get help with coding
- 🖥️ Simple, easy-to-use interface
- 📚 No complex setup needed

## Getting Started

1. Install the required packages:
   ```
   pip install -r requirements.txt
   ```

2. Run the application:
   ```
   python app.py
   ```

3. When the application starts:
   - Select a model from the dropdown
   - Choose a chat mode
   - Start typing and chatting!

## Requirements

- Python 3.11 or newer 
- Internet connection for first-time model download

## Tips

- For code completion, start by typing the beginning of your code
- The first time you select a model, it may take a moment to download
- You can switch between models anytime during your conversation

Enjoy chatting with Gemma!