Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ device = "cuda"
|
|
9 |
|
10 |
tts = TTS("tts_models/multilingual/multi-dataset/xtts_v2").to(device)
|
11 |
|
12 |
-
@spaces.GPU(enable_queue=True, duration=
|
13 |
|
14 |
def clone(text, audio):
|
15 |
tts.tts_to_file(text=text, speaker_wav=audio, language="en", file_path="./output.wav")
|
|
|
9 |
|
10 |
tts = TTS("tts_models/multilingual/multi-dataset/xtts_v2").to(device)
|
11 |
|
12 |
+
@spaces.GPU(enable_queue=True, duration=30)
|
13 |
|
14 |
def clone(text, audio):
|
15 |
tts.tts_to_file(text=text, speaker_wav=audio, language="en", file_path="./output.wav")
|