kleinay commited on
Commit
a4d2f06
β€’
1 Parent(s): feda136

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -61,7 +61,7 @@ def call(sentence, layers, detection_threshold):
61
 
62
  iface = gr.Interface(fn=call,
63
  inputs=[gr.inputs.Textbox(placeholder=input_sent_box_label, label="Sentence", lines=4),
64
- gr.inputs.CheckboxGroup(all_layers, value=all_layers, label="Annotation Layers"),
65
  gr.inputs.Slider(minimum=0., maximum=1., step=0.01, default=0.75, label="Nominalization Detection Threshold")],
66
  outputs=[gr.outputs.HTML(label="Detected Predicates"),
67
  gr.outputs.Textbox(label="Generated QAs"),
 
61
 
62
  iface = gr.Interface(fn=call,
63
  inputs=[gr.inputs.Textbox(placeholder=input_sent_box_label, label="Sentence", lines=4),
64
+ gr.inputs.CheckboxGroup(all_layers, default=all_layers, label="Annotation Layers"),
65
  gr.inputs.Slider(minimum=0., maximum=1., step=0.01, default=0.75, label="Nominalization Detection Threshold")],
66
  outputs=[gr.outputs.HTML(label="Detected Predicates"),
67
  gr.outputs.Textbox(label="Generated QAs"),