Update app.py
Browse files
app.py
CHANGED
@@ -122,7 +122,7 @@ for lang, model_id in TTS_MODELS.items():
|
|
122 |
tts_models[lang] = None
|
123 |
|
124 |
# Add this with your other model configurations
|
125 |
-
TRANSLATION_MODEL_ID = "
|
126 |
logger.info(f"π Loading Translation model: {TRANSLATION_MODEL_ID}")
|
127 |
|
128 |
# Initialize translation model and tokenizer (add this after your other model initializations)
|
|
|
122 |
tts_models[lang] = None
|
123 |
|
124 |
# Add this with your other model configurations
|
125 |
+
TRANSLATION_MODEL_ID = "Coco-18/opus-mt-pam-en"
|
126 |
logger.info(f"π Loading Translation model: {TRANSLATION_MODEL_ID}")
|
127 |
|
128 |
# Initialize translation model and tokenizer (add this after your other model initializations)
|