nedtheminx commited on
Commit
07ee6bb
1 Parent(s): a2482e9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -32,8 +32,8 @@ def translation(source, target, text):
32
  model_name = 'nllb-distilled-1.3B'
33
 
34
  start_time = time.time()
35
- source = flores_codes[source]
36
- target = flores_codes[target]
37
 
38
  model = model_dict[model_name + '_model']
39
  tokenizer = model_dict[model_name + '_tokenizer']
 
32
  model_name = 'nllb-distilled-1.3B'
33
 
34
  start_time = time.time()
35
+ #source = flores_codes[source]
36
+ #target = flores_codes[target]
37
 
38
  model = model_dict[model_name + '_model']
39
  tokenizer = model_dict[model_name + '_tokenizer']