broadfield commited on
Commit
aba73cd
·
verified ·
1 Parent(s): 4862717

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -41,7 +41,7 @@ def generate(prompt,history,max_new_tokens,seed):
41
  output += response.token.text
42
  buf += response.token.text
43
  if response.token.text == "\n" or response.token.text == "</s>" or response.token.text == ". ":
44
- yield [(prompt,output)], buf
45
  buf=""
46
 
47
  def tts(inp,voice,length,noise,width,sen_pause):
 
41
  output += response.token.text
42
  buf += response.token.text
43
  if response.token.text == "\n" or response.token.text == "</s>" or response.token.text == ". ":
44
+ yield [(prompt,output)], output
45
  buf=""
46
 
47
  def tts(inp,voice,length,noise,width,sen_pause):