Omnibus commited on
Commit
5c47c4d
·
verified ·
1 Parent(s): 7875c95

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -36,7 +36,8 @@ def chat_inf(system_prompt,prompt,history):
36
  output = ""
37
  for response in stream:
38
  output += response.token.text
39
- yield [history,(prompt,output)]
 
40
 
41
 
42
 
 
36
  output = ""
37
  for response in stream:
38
  output += response.token.text
39
+ history[-1]=(prompt,output)
40
+ yield history
41
 
42
 
43