Malek-AI commited on
Commit
52a851b
·
verified ·
1 Parent(s): cb7384e

Fix indent

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -8,14 +8,14 @@ def mask(text):
8
 
9
  with gr.Blocks() as demo:
10
  gr.Markdown("BERT Test - Zircon.tech")
11
- with gr.Column(scale=1):
12
- textbox_mask = gr.Textbox(label="Give me a sentance and use the word [MASK] to predict what will go there")
13
- mask_button = gr.Button("Predict")
14
- textbox_mask_output = gr.Textbox()
15
 
16
- mask_button.click(fn=mask,
17
- inputs = textbox_mask,
18
- outputs = textbox_mask_output)
19
  demo.launch(debug=True)
20
 
21
  # # Load the model and tokenizer
 
8
 
9
  with gr.Blocks() as demo:
10
  gr.Markdown("BERT Test - Zircon.tech")
11
+ with gr.Column(scale=1):
12
+ textbox_mask = gr.Textbox(label="Give me a sentance and use the word [MASK] to predict what will go there")
13
+ mask_button = gr.Button("Predict")
14
+ textbox_mask_output = gr.Textbox()
15
 
16
+ mask_button.click(fn=mask,
17
+ inputs = textbox_mask,
18
+ outputs = textbox_mask_output)
19
  demo.launch(debug=True)
20
 
21
  # # Load the model and tokenizer