Tenzin Gyalpo commited on
Commit
2ccd305
1 Parent(s): 62ffc5a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -5
app.py CHANGED
@@ -45,11 +45,13 @@ def translation(source, target, text):
45
 
46
  full_output = output
47
  output = output[0]['translation_text']
48
- result = {'inference_time': end_time - start_time,
49
- 'source': source,
50
- 'target': target,
51
- 'result': output,
52
- 'full_output': full_output}
 
 
53
  return result
54
 
55
 
 
45
 
46
  full_output = output
47
  output = output[0]['translation_text']
48
+ # result = {'inference_time': end_time - start_time,
49
+ # 'source': source,
50
+ # 'target': target,
51
+ # 'result': output,
52
+ # 'full_output': full_output}
53
+ result = full_output;
54
+
55
  return result
56
 
57