salomonsky commited on
Commit
ad653b7
·
verified ·
1 Parent(s): 19c888c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -76,7 +76,7 @@ def generate(audio_text, history, temperature=None, max_new_tokens=512, top_p=0.
76
  response += response_token.token.text
77
 
78
  response = ' '.join(response.split()).replace('</s>', '')
79
- audio_file = text_to_speech(response, speed=1.3)
80
  return response, audio_file
81
 
82
  def text_to_speech(text):
 
76
  response += response_token.token.text
77
 
78
  response = ' '.join(response.split()).replace('</s>', '')
79
+ audio_file = text_to_speech(response)
80
  return response, audio_file
81
 
82
  def text_to_speech(text):