Update app.py
Browse files
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=
|
| 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()
|