Spaces:
Runtime error
Runtime error
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 |
-
|
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 |
+
|
21 |
def voice_clone(text: str, speaker_wav: str, language: str):
|
22 |
# Run TTS
|
23 |
print("Speaker wav:", speaker_wav)
|