Omnibus commited on
Commit
24feb63
·
verified ·
1 Parent(s): 0045bd6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -72,9 +72,9 @@ def generate(prompt, history,max_new_tokens,health,temperature=temperature,top_p
72
  for response in stream:
73
  output += response.token.text
74
  if history:
75
- yield "",[(prompt,output)]
76
  else:
77
- yield "",[(prompt,output)]
78
 
79
  lines = output.strip().strip("\n").split("\n")
80
  #history=""
 
72
  for response in stream:
73
  output += response.token.text
74
  if history:
75
+ yield "",[(prompt,output)],health
76
  else:
77
+ yield "",[(prompt,output)],health
78
 
79
  lines = output.strip().strip("\n").split("\n")
80
  #history=""