Spaces:
Runtime error
Runtime error
rockdrigoma
commited on
Commit
•
b60f816
1
Parent(s):
6f17cca
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ tts = TTS("tts_models/multilingual/multi-dataset/xtts_bill_spa").to(device)
|
|
11 |
|
12 |
@spaces.GPU(enable_queue=True)
|
13 |
def clone(text, audio):
|
14 |
-
tts.tts_to_file(text=text, speaker_wav=audio, language="
|
15 |
return "./output.wav"
|
16 |
|
17 |
demo = gr.Interface(
|
|
|
11 |
|
12 |
@spaces.GPU(enable_queue=True)
|
13 |
def clone(text, audio):
|
14 |
+
tts.tts_to_file(text=text, speaker_wav=audio, language="es", file_path="./output.wav")
|
15 |
return "./output.wav"
|
16 |
|
17 |
demo = gr.Interface(
|