Update app.py
Browse files
app.py
CHANGED
|
@@ -16,7 +16,7 @@ from TTS.tts.models.xtts import XttsAudioConfig
|
|
| 16 |
add_safe_globals([XttsConfig, XttsAudioConfig])
|
| 17 |
|
| 18 |
# Agree to Coqui TTS Terms of Service
|
| 19 |
-
os.environ["COQUI_TOS_AGREED"] = "1"
|
| 20 |
|
| 21 |
# Initialize TTS model explicitly with weights_only=False
|
| 22 |
#tts_model_name = "tts_models/multilingual/multi-dataset/xtts_v2"
|
|
|
|
| 16 |
add_safe_globals([XttsConfig, XttsAudioConfig])
|
| 17 |
|
| 18 |
# Agree to Coqui TTS Terms of Service
|
| 19 |
+
os.environ["COQUI_TOS_AGREED"] = "1"
|
| 20 |
|
| 21 |
# Initialize TTS model explicitly with weights_only=False
|
| 22 |
#tts_model_name = "tts_models/multilingual/multi-dataset/xtts_v2"
|