Spaces:
Running
on
Zero
Running
on
Zero
language
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ tts = TTS("tts_models/multilingual/multi-dataset/xtts_v2").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 |
iface = gr.Interface(fn=clone,
|
|
|
11 |
|
12 |
@spaces.GPU(enable_queue=True)
|
13 |
def clone(text, audio):
|
14 |
+
tts.tts_to_file(text=text, speaker_wav=audio, language="it", file_path="./output.wav")
|
15 |
return "./output.wav"
|
16 |
|
17 |
iface = gr.Interface(fn=clone,
|