FredZhang7 commited on
Commit
3025d66
1 Parent(s): 75efb4d

yield tmp?

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -148,8 +148,7 @@ def generator(
148
  if no_history:
149
  yield out_str.strip()
150
  else:
151
- for char in tmp:
152
- yield char
153
  out_last = i + 1
154
  if "\n\n" in out_str:
155
  break
 
148
  if no_history:
149
  yield out_str.strip()
150
  else:
151
+ yield tmp
 
152
  out_last = i + 1
153
  if "\n\n" in out_str:
154
  break