Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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,
|
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"),
|