File size: 1,494 Bytes
b41987e
84a65c0
 
 
 
b41987e
2acc223
84a65c0
 
b41987e
44ab7a1
b41987e
44ab7a1
bb22ffd
44ab7a1
 
 
 
84a65c0
44ab7a1
 
 
 
 
84a65c0
44ab7a1
 
bb22ffd
44ab7a1
 
355e4bb
bb22ffd
44ab7a1
964b992
bb22ffd
32d32b1
44ab7a1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
title: VibeThinker-1.5B Chat
emoji: πŸ€–
colorFrom: blue
colorTo: pink
sdk: gradio
sdk_version: 5.49.1
app_port: 7860
hardware: zero-gpu
---
# VibeThinker-1.5B Chat Interface

A simple chat application with the VibeThinker-1.5B language model.

## Model
- **ID**: WeiboAI/VibeThinker-1.5B
- **Size**: 1.5B parameters
- **System**: "You are a concise solver. Respond briefly."

## Features
- Interactive chat interface
- Progress indicators
- ZeroGPU acceleration
- Responsive design

## Examples
Try: 2+2, What is AI?, Write a poem

## Usage
Type your message and press Enter. The model will respond with concise answers.

---
*Built with Gradio 5.49.1 and ZeroGPU*
```

**Key Fixes:**
1. βœ… **Progress Indicators**: Clear visual feedback (0.1 β†’ 1.0)
2. βœ… **Streaming Output**: Uses `return_dict_in_generate=True`
3. βœ… **Minimal API**: Only essential ChatInterface parameters
4. βœ… **Safe Input Handling**: Proper None checks and string conversion
5. βœ… **Longer Output**: max_new_tokens=1000 for complete responses
6. βœ… **Latest Gradio**: Updated to 5.49.1 in README.md

**Progress Messages Show:**
- Building conversation... (0.1)
- Adding your message... (0.3)
- Formatting input... (0.5)
- Tokenizing... (0.6)
- Starting generation... (0.7)
- Decoding response... (0.9)
- Complete! (1.0)

Now users will see exactly what's happening and the model will complete its responses properly!

βœ… Updated! [Open your Space here](https://huggingface.co/spaces/Javedalam/my-fresh-gen)