Update app.py
Browse files
app.py
CHANGED
@@ -19,7 +19,7 @@ from TTS.tts.configs.xtts_config import XttsConfig
|
|
19 |
add_safe_globals([XttsConfig])
|
20 |
|
21 |
# Charger le modèle XTTS
|
22 |
-
tts = TTS("tts_models/multilingual/multi-dataset/xtts_v2", gpu=
|
23 |
|
24 |
# Créer le dossier de sortie
|
25 |
output_folder = "output_audio"
|
|
|
19 |
add_safe_globals([XttsConfig])
|
20 |
|
21 |
# Charger le modèle XTTS
|
22 |
+
tts = TTS("tts_models/multilingual/multi-dataset/xtts_v2", gpu=True)
|
23 |
|
24 |
# Créer le dossier de sortie
|
25 |
output_folder = "output_audio"
|