qqwjq1981 commited on
Commit
e4f2e1a
·
verified ·
1 Parent(s): 8953421

Update app.py

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