Omnibus commited on
Commit
39bd56b
1 Parent(s): b441e99

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -41,7 +41,7 @@ def chat_inf(system_prompt,prompt,history):
41
  for response in stream:
42
  output += response.token.text
43
  yield [(prompt,output)]
44
- history.append(prompt,output)
45
  yield history
46
 
47
  def get_screenshot(chat: list,height=5000,width=600,chatblock=[1],theme="light",wait=3000,header=True):
 
41
  for response in stream:
42
  output += response.token.text
43
  yield [(prompt,output)]
44
+ history.append((prompt,output))
45
  yield history
46
 
47
  def get_screenshot(chat: list,height=5000,width=600,chatblock=[1],theme="light",wait=3000,header=True):