broadfield commited on
Commit
4310444
·
verified ·
1 Parent(s): d1bea15

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -40,7 +40,7 @@ def generate(prompt,history):
40
  buf = ""
41
  for response in stream:
42
  output += response.token.text
43
- yield history.append((prompt,output))
44
 
45
  def load_mod(model):
46
  yield f"Loading: {model}"
 
40
  buf = ""
41
  for response in stream:
42
  output += response.token.text
43
+ yield [history,(prompt,output)]
44
 
45
  def load_mod(model):
46
  yield f"Loading: {model}"