vilarin commited on
Commit
8cca029
1 Parent(s): d616ff6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -74,7 +74,7 @@ def stream_chat(message, history: list, temperature: float, max_new_tokens: int)
74
  generated_text = ""
75
  for new_text in response:
76
  generated_text += new_text
77
- yeild(new_text, flush=True, end='')
78
 
79
 
80
 
 
74
  generated_text = ""
75
  for new_text in response:
76
  generated_text += new_text
77
+ yield(new_text, flush=True, end='')
78
 
79
 
80