Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -94,7 +94,7 @@ def generate_speech(history):
|
|
94 |
for sentence in text_to_generate:
|
95 |
# generate speech by cloning a voice using default settings
|
96 |
wav = tts.tts(text=sentence,
|
97 |
-
|
98 |
speed=1.5,
|
99 |
language="en")
|
100 |
|
|
|
94 |
for sentence in text_to_generate:
|
95 |
# generate speech by cloning a voice using default settings
|
96 |
wav = tts.tts(text=sentence,
|
97 |
+
speaker_wav="examples/female.wav",
|
98 |
speed=1.5,
|
99 |
language="en")
|
100 |
|