vilarin commited on
Commit
fece758
1 Parent(s): 0c20d85

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -77,7 +77,7 @@ def stream_chat(message: str, history: list, temperature: float, max_new_tokens:
77
  temperature=temperature,
78
  )
79
 
80
- gen_text = tokenizer.decode(gen_tokens[0], skip_special_tokens=True)
81
 
82
  return gen_text
83
 
 
77
  temperature=temperature,
78
  )
79
 
80
+ gen_text = tokenizer.batch_decode(gen_tokens[0], skip_special_tokens=True)
81
 
82
  return gen_text
83