Update app.py
Browse files
app.py
CHANGED
|
@@ -5,7 +5,7 @@ import uuid
|
|
| 5 |
from pydub import AudioSegment
|
| 6 |
|
| 7 |
# Load XTTS v2 model (correct model path)
|
| 8 |
-
tts = TTS(model_name="tts_models/
|
| 9 |
|
| 10 |
# Emotions mapped to style embeddings
|
| 11 |
emotion_styles = {
|
|
|
|
| 5 |
from pydub import AudioSegment
|
| 6 |
|
| 7 |
# Load XTTS v2 model (correct model path)
|
| 8 |
+
tts = TTS(model_name="tts_models/multilingual/multi-dataset/xtts_v2", progress_bar=False, gpu=False)
|
| 9 |
|
| 10 |
# Emotions mapped to style embeddings
|
| 11 |
emotion_styles = {
|