ShAnSantosh commited on
Commit
7c371a4
·
1 Parent(s): edd84ab

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -27,7 +27,8 @@ def predict(text=None) -> dict:
27
 
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
  description="Masked language modeling is the task of masking some of the words in a sentence and predicting which words should replace those masks",
33
- examples=['A Good Man Is Hard to Find [MASK].', 'Some stories have a [MASK] kind of message called a moral.']).launch()
 
 
27
 
28
  gr.Interface(fn=predict,
29
  inputs=gr.inputs.Textbox(lines=2, placeholder="Your Text… "),
30
+ title="Mask Language Modeling",
31
  outputs=gr.outputs.Label(num_top_classes=NUM_CLASSES),
32
  description="Masked language modeling is the task of masking some of the words in a sentence and predicting which words should replace those masks",
33
+ examples=['A Good Man Is Hard to Find [MASK].', 'Some stories have a [MASK] kind of message called a moral.'],
34
+ interpretation='default').launch()