geonmo.gu commited on
Commit
e707077
1 Parent(s): 5cc416b
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -26,7 +26,7 @@ def load_models():
26
  return model_dict
27
 
28
 
29
- def translation(model_name, source, target, text):
30
  start_time = time.time()
31
  source = flores_codes[source]
32
  target = flores_codes[target]
 
26
  return model_dict
27
 
28
 
29
+ def translation(source, target, text):
30
  start_time = time.time()
31
  source = flores_codes[source]
32
  target = flores_codes[target]