Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -11,8 +11,8 @@ tts = TTS("tts_models/multilingual/multi-dataset/xtts_v2").to(device)
|
|
11 |
|
12 |
@spaces.GPU(enable_queue=True)
|
13 |
def clone(text):
|
14 |
-
audio = './
|
15 |
-
tts.tts_to_file(text=text, speaker_wav=audio, language="en", file_path="./
|
16 |
return "./output.wav"
|
17 |
|
18 |
iface = gr.Interface(fn=clone,
|
|
|
11 |
|
12 |
@spaces.GPU(enable_queue=True)
|
13 |
def clone(text):
|
14 |
+
audio = './harry.wav'
|
15 |
+
tts.tts_to_file(text=text, speaker_wav=audio, language="en", file_path="./output.wav")
|
16 |
return "./output.wav"
|
17 |
|
18 |
iface = gr.Interface(fn=clone,
|