ShAnSantosh commited on
Commit
a641319
·
1 Parent(s): fe50d4b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -28,4 +28,5 @@ def predict(text=None) -> dict:
28
  gr.Interface(fn=predict,
29
  inputs=gr.inputs.Textbox(lines=2, placeholder="Your Text… "),
30
  title="Mask Language Modeling - Demo",
31
- outputs=gr.outputs.Label(num_top_classes=NUM_CLASSES)).launch()
 
 
28
  gr.Interface(fn=predict,
29
  inputs=gr.inputs.Textbox(lines=2, placeholder="Your Text… "),
30
  title="Mask Language Modeling - Demo",
31
+ outputs=gr.outputs.Label(num_top_classes=NUM_CLASSES)
32
+ examples=['A Good Man Is Hard to Find [MASK].', 'Some stories have a [MASK] kind of message called a moral.']).launch()