Spaces:
Sleeping
Sleeping
Commit
•
5e91596
1
Parent(s):
d9e31ac
Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ from TTS.api import TTS
|
|
15 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
16 |
|
17 |
# Init TTS
|
18 |
-
tts = TTS("
|
19 |
|
20 |
def voice_clone(text: str, speaker_wav: str, language: str):
|
21 |
# Run TTS
|
|
|
15 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
16 |
|
17 |
# Init TTS
|
18 |
+
tts = TTS("tts_models/multilingual/multi-dataset/xtts_v2").to(device)
|
19 |
|
20 |
def voice_clone(text: str, speaker_wav: str, language: str):
|
21 |
# Run TTS
|