Spaces:
Running
Running
VoiceCloning-be
commited on
Commit
•
d399699
1
Parent(s):
3a9d065
Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ device = "cuda" if torch.cuda.is_available() else "cpu"
|
|
17 |
# Init TTS
|
18 |
tts = TTS("tts_models/multilingual/multi-dataset/xtts_v2").to(device)
|
19 |
|
20 |
-
@spaces.GPU(duration=
|
21 |
def voice_clone(text: str, speaker_wav: str, language: str):
|
22 |
# Run TTS
|
23 |
print("Speaker wav:", speaker_wav)
|
|
|
17 |
# Init TTS
|
18 |
tts = TTS("tts_models/multilingual/multi-dataset/xtts_v2").to(device)
|
19 |
|
20 |
+
@spaces.GPU(duration=360)
|
21 |
def voice_clone(text: str, speaker_wav: str, language: str):
|
22 |
# Run TTS
|
23 |
print("Speaker wav:", speaker_wav)
|