Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -272,7 +272,7 @@ def get_translation_model(source_language, target_language):
|
|
272 |
- str: The translation model identifier.
|
273 |
"""
|
274 |
# List of allowable languages
|
275 |
-
allowable_languages = ["en", "es", "fr", "zh", "de", "it", "pt", "ja", "ko", "ru"]
|
276 |
|
277 |
# Validate source and target languages
|
278 |
if source_language not in allowable_languages:
|
|
|
272 |
- str: The translation model identifier.
|
273 |
"""
|
274 |
# List of allowable languages
|
275 |
+
allowable_languages = ["en", "es", "fr", "zh", "de", "it", "pt", "ja", "ko", "ru", "hi"]
|
276 |
|
277 |
# Validate source and target languages
|
278 |
if source_language not in allowable_languages:
|