broadfield commited on
Commit
a0ccc6c
·
verified ·
1 Parent(s): 9e8183c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -37,7 +37,7 @@ def generate(prompt,history,max_new_tokens,seed):
37
  buf = ""
38
  for response in stream:
39
  if response.token.text == "\n" or response.token.text == "</s>":
40
- yield [(prompt,output)],buf
41
  #yield from pp.stream_tts(buf)
42
  buf=""
43
  buf += response.token.text
 
37
  buf = ""
38
  for response in stream:
39
  if response.token.text == "\n" or response.token.text == "</s>":
40
+ yield [(prompt,output)],output
41
  #yield from pp.stream_tts(buf)
42
  buf=""
43
  buf += response.token.text