Commit ·
a641319
1
Parent(s): fe50d4b
Update app.py
Browse files27 unmodified lines2829303127 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)).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+2-1