Commit ·
96dc1a0
1
Parent(s): a641319
Update app.py
Browse files27 unmodified lines282930313227 unmodified linesgr.Interface(fn=predict,inputs=gr.inputs.Textbox(lines=2, placeholder="Your Text… "),title="Mask Language Modeling - Demo",outputs=gr.outputs.Label(num_top_classes=NUM_CLASSES)examples=['A Good Man Is Hard to Find [MASK].', 'Some stories have a [MASK] kind of message called a moral.']).launch()27 unmodified lines282930313227 unmodified linesgr.Interface(fn=predict,inputs=gr.inputs.Textbox(lines=2, placeholder="Your Text… "),title="Mask Language Modeling - Demo",outputs=gr.outputs.Label(num_top_classes=NUM_CLASSES),examples=['A Good Man Is Hard to Find [MASK].', 'Some stories have a [MASK] kind of message called a moral.']).launch()
app.py+1-1