edaiofficial commited on
Commit
5051968
·
1 Parent(s): 16dd818

additional commits

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -48,10 +48,10 @@ def get_translation(source_sentence,type_=2):
48
  title = "Interact with Masakhane Benchmark Models"
49
  description = "Interact with Masakhane Benchmark Models"
50
  iface = gr.Interface(fn=get_translation,
51
- inputs=[gr.inputs.Textbox(label="sentence"), gr.inputs.Textbox(label="translation")],
52
  outputs='text',
53
  title=title,
54
  description=description,
55
- examples=[["God is great that he sent Jesus to help us", "Mungu ni mkuu kwamba alimtuma Yesu atusaidie"]],
56
  enable_queue=True)
57
  iface.launch()
 
48
  title = "Interact with Masakhane Benchmark Models"
49
  description = "Interact with Masakhane Benchmark Models"
50
  iface = gr.Interface(fn=get_translation,
51
+ inputs=[gr.inputs.Textbox(label="input")],
52
  outputs='text',
53
  title=title,
54
  description=description,
55
+ examples=[["God is great that he sent Jesus to help us"]],
56
  enable_queue=True)
57
  iface.launch()