Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -68,7 +68,7 @@ def tts_from_text(text, tts_dir, voice_choice):
|
|
| 68 |
text = " ".join(words)
|
| 69 |
|
| 70 |
text_to_speech = load_text_to_speech(True)
|
| 71 |
-
output = generate_speech(text_to_speech , [text], tts_dir, voice_choice)[0]
|
| 72 |
return output
|
| 73 |
|
| 74 |
def speak_to_me(session_id, evt: gr.EventData):
|
|
|
|
| 68 |
text = " ".join(words)
|
| 69 |
|
| 70 |
text_to_speech = load_text_to_speech(True)
|
| 71 |
+
output = generate_speech(text_to_speech , [text], tts_dir, voice_choice, speed=0.9)[0]
|
| 72 |
return output
|
| 73 |
|
| 74 |
def speak_to_me(session_id, evt: gr.EventData):
|