DornierDo17 commited on
Commit
d317fe7
·
verified ·
1 Parent(s): b37b33a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -25,7 +25,9 @@ def predict(sentece):
25
 
26
  gr.Interface(
27
  fn=predict,
28
- inputs=gr.Textbox(label="Enter sentence with <mask>"),
 
 
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()