Omnibus commited on
Commit
9a62211
·
verified ·
1 Parent(s): ddd1ec8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -73,7 +73,7 @@ def generate(prompt, history,max_new_tokens,temperature=temperature,top_p=top_p,
73
  output += response.token.text
74
  if history:
75
  print (history)
76
- yield "",[history,(prompt,output)]
77
  else:
78
  yield "",[(prompt,output)]
79
 
 
73
  output += response.token.text
74
  if history:
75
  print (history)
76
+ yield "",history.append(prompt,output)
77
  else:
78
  yield "",[(prompt,output)]
79