wannaphong commited on
Commit
7c77a73
1 Parent(s): 0cbbcf0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -107,7 +107,8 @@ def respond(
107
  if 'content' in delta:
108
  tokens = delta['content'].split()
109
  for token in tokens:
110
- yield token
 
111
 
112
  #yield outputs.replace("<|assistant|>","").replace("<|user|>","")
113
 
 
107
  if 'content' in delta:
108
  tokens = delta['content'].split()
109
  for token in tokens:
110
+ outputs+=token
111
+ yield outputs
112
 
113
  #yield outputs.replace("<|assistant|>","").replace("<|user|>","")
114