Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ from TTS.api import TTS
|
|
3 |
import os
|
4 |
|
5 |
# Load the voice cloning model
|
6 |
-
tts = TTS("tts_models/multilingual/multi-dataset/
|
7 |
|
8 |
def generate_cloned_voice(text, reference_audio, language):
|
9 |
output_path = "output.wav"
|
|
|
3 |
import os
|
4 |
|
5 |
# Load the voice cloning model
|
6 |
+
tts = TTS("tts_models/multilingual/multi-dataset/xtts_v2").to("cpu")
|
7 |
|
8 |
def generate_cloned_voice(text, reference_audio, language):
|
9 |
output_path = "output.wav"
|