qqwjq1981 commited on
Commit
8b52167
·
verified ·
1 Parent(s): 846a689

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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: