Pclanglais commited on
Commit
50af2bb
1 Parent(s): 14d88d8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -148,7 +148,7 @@ def predict(history_transformer_format):
148
  history_transformer_format[-1][1] = ""
149
  for new_token in streamer:
150
  if new_token != '<':
151
- history_transformer_format[-1][1] += character
152
  yield history_transformer_format
153
 
154
  def user(message, history):
 
148
  history_transformer_format[-1][1] = ""
149
  for new_token in streamer:
150
  if new_token != '<':
151
+ history_transformer_format[-1][1] += new_token
152
  yield history_transformer_format
153
 
154
  def user(message, history):