NeerAbhy commited on
Commit
f5ce068
·
verified ·
1 Parent(s): d4b1b65

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -125,7 +125,7 @@ lang_id = {
125
  "Chinese": "zh",
126
  "Zulu": "zu",
127
  }
128
- def translation_text(source_lang, target_lang user_input):
129
  src_lang = lang_id[source_lang]
130
  trg_lang = lang_id[target_lang]
131
  tokenizer.src_lang = src_lang
 
125
  "Chinese": "zh",
126
  "Zulu": "zu",
127
  }
128
+ def translation_text(source_lang, target_lang, user_input):
129
  src_lang = lang_id[source_lang]
130
  trg_lang = lang_id[target_lang]
131
  tokenizer.src_lang = src_lang