Tenzin Gyalpo commited on
Commit
2905628
1 Parent(s): 22cbbdf

Update app.py

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