ariG23498 commited on
Commit
c967f60
1 Parent(s): 1890c1d

chore: adding labels to the textbox

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -19,8 +19,8 @@ def get_translation(sentence):
19
 
20
  nmt_space = gr.Interface(
21
  fn=get_translation,
22
- inputs="text",
23
- outputs="text"
24
  )
25
 
26
  nmt_space.launch()
 
19
 
20
  nmt_space = gr.Interface(
21
  fn=get_translation,
22
+ inputs=gr.Textbox(label="English Sentence"),
23
+ outputs=gr.Textbox(label="French Sentence"),
24
  )
25
 
26
  nmt_space.launch()