FahadAlam commited on
Commit
1139d7b
·
1 Parent(s): da44bb5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,5 +12,5 @@ def fill_mask(text):
12
 
13
  examples = [["Hello I'm a [MASK] model."], ["[MASK] is my favourite sports."]]
14
 
15
- demo = gr.Interface(fn=fill_mask, inputs="text", outputs="label", title="Fill Mask", examples=examples)
16
  demo.launch()
 
12
 
13
  examples = [["Hello I'm a [MASK] model."], ["[MASK] is my favourite sports."]]
14
 
15
+ demo = gr.Interface(fn=fill_mask, inputs=gr.Textbox(lines=1, label="Input"), outputs=gr.Label(label="Output"), examples=examples)
16
  demo.launch()