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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -28,5 +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)
32
  examples=['A Good Man Is Hard to Find [MASK].', 'Some stories have a [MASK] kind of message called a moral.']).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()