Omnibus commited on
Commit
4f70700
·
verified ·
1 Parent(s): 5c47c4d

Update app.py

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