Malek-AI commited on
Commit
a9b0b23
·
verified ·
1 Parent(s): da0dbb7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -10,11 +10,11 @@ def mask(text):
10
  examples=[['Today I went to [MASK] after I got out of bed.']]
11
  ui = gr.Interface(
12
  fn=mask,
13
- inputs="text",
14
- outputs="text",
15
  submit_btn="Predict",
16
- title="BERT-based Text Analyzer",
17
- description="Enter some text to analyze with BERT!",
18
  examples=examples
19
  )
20
- ui.launch(debug=True)
 
10
  examples=[['Today I went to [MASK] after I got out of bed.']]
11
  ui = gr.Interface(
12
  fn=mask,
13
+ inputs="textbox",
14
+ outputs="textbox",
15
  submit_btn="Predict",
16
+ title="BERT Test - Zircon.tech",
17
+ description="Enter some text with [MASK] to let BERT guess the missing word!",
18
  examples=examples
19
  )
20
+ ui.launch(debug=True)