Atsatoru commited on
Commit
4c30178
·
verified ·
1 Parent(s): 739739a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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: