Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|
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):
|