Spaces:
Runtime error
Runtime error
lcsouzamenezes
commited on
Commit
•
073894a
1
Parent(s):
37ae53b
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ tts = TTS("tts_models/multilingual/multi-dataset/xtts_v2").to(device)
|
|
13 |
|
14 |
@spaces.GPU(enable_queue=False)
|
15 |
def clone(text, audio):
|
16 |
-
tts.tts_to_file(text=text, speaker_wav=audio, language="pt
|
17 |
return "./output.wav"
|
18 |
|
19 |
iface = gr.Interface(fn=clone,
|
|
|
13 |
|
14 |
@spaces.GPU(enable_queue=False)
|
15 |
def clone(text, audio):
|
16 |
+
tts.tts_to_file(text=text, speaker_wav=audio, language="pt", file_path="./output.wav")
|
17 |
return "./output.wav"
|
18 |
|
19 |
iface = gr.Interface(fn=clone,
|