Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -25,7 +25,9 @@ def predict(sentece):
|
|
| 25 |
|
| 26 |
gr.Interface(
|
| 27 |
fn=predict,
|
| 28 |
-
inputs=gr.Textbox(
|
|
|
|
|
|
|
| 29 |
outputs=gr.Textbox(label="Predicted token(s)"),
|
| 30 |
title="RoBERTa MLM Inference"
|
| 31 |
).launch()
|
|
|
|
| 25 |
|
| 26 |
gr.Interface(
|
| 27 |
fn=predict,
|
| 28 |
+
inputs=gr.Textbox(
|
| 29 |
+
label="Enter sentence with <mask>",
|
| 30 |
+
placeholder="Example: The water boils at <mask> degress Celcius"),
|
| 31 |
outputs=gr.Textbox(label="Predicted token(s)"),
|
| 32 |
title="RoBERTa MLM Inference"
|
| 33 |
).launch()
|