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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -69,6 +69,7 @@ if __name__ == '__main__':
69
  ]
70
 
71
  # outputs = gr.outputs.JSON()
 
72
 
73
  title = "NLLB distilled 1.3B distilled [སྐད་ཡིག་གཅིག་ཀྱང་མ་ལུས་པ།]"
74
 
@@ -80,7 +81,7 @@ if __name__ == '__main__':
80
 
81
  gr.Interface(translation,
82
  inputs,
83
- outputs="text",
84
  title=title,
85
  description=description,
86
  examples=examples,
 
69
  ]
70
 
71
  # outputs = gr.outputs.JSON()
72
+ outputs = gr.Textbox(lines=5, label="Translated Output")
73
 
74
  title = "NLLB distilled 1.3B distilled [སྐད་ཡིག་གཅིག་ཀྱང་མ་ལུས་པ།]"
75
 
 
81
 
82
  gr.Interface(translation,
83
  inputs,
84
+ outputs,
85
  title=title,
86
  description=description,
87
  examples=examples,