Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -517,7 +517,6 @@ def get_translation_model(source_language, target_language):
|
|
| 517 |
Returns:
|
| 518 |
- str: The translation model identifier.
|
| 519 |
"""
|
| 520 |
-
return f"Helsinki-NLP/opus-mt-zh-en"
|
| 521 |
# List of allowable languages
|
| 522 |
allowable_languages = ["en", "es", "fr", "zh", "de", "it", "pt", "ja", "ko", "ru", "hi", "tr"]
|
| 523 |
|
|
|
|
| 517 |
Returns:
|
| 518 |
- str: The translation model identifier.
|
| 519 |
"""
|
|
|
|
| 520 |
# List of allowable languages
|
| 521 |
allowable_languages = ["en", "es", "fr", "zh", "de", "it", "pt", "ja", "ko", "ru", "hi", "tr"]
|
| 522 |
|