Update app.py
Browse files
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="
|
14 |
-
outputs="
|
15 |
submit_btn="Predict",
|
16 |
-
title="BERT-
|
17 |
-
description="Enter some text to
|
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)
|