Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1235,7 +1235,7 @@ HÃY TRẢ LỜI NGƯỜI DÂNG:"""
|
|
| 1235 |
)
|
| 1236 |
|
| 1237 |
# CHỈ giải mã những token mới (phần sau input_length)
|
| 1238 |
-
response_text = tokenizer.decode(outputs[0][input_length:], skip_special_tokens=True)
|
| 1239 |
|
| 1240 |
# Clean response
|
| 1241 |
if "<|im_start|>assistant\n" in response_text:
|
|
|
|
| 1235 |
)
|
| 1236 |
|
| 1237 |
# CHỈ giải mã những token mới (phần sau input_length)
|
| 1238 |
+
response_text = tokenizer.decode(outputs[0][input_length:], skip_special_tokens=True)
|
| 1239 |
|
| 1240 |
# Clean response
|
| 1241 |
if "<|im_start|>assistant\n" in response_text:
|