Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -53,7 +53,7 @@ def call(sentence, detection_threshold):
|
|
53 |
|
54 |
iface = gr.Interface(fn=call,
|
55 |
inputs=[gr.inputs.Textbox(placeholder=input_sent_box_label, label="Sentence", lines=4),
|
56 |
-
gr.inputs.Slider(minimum=0., maximum=1., step=0.01, default=0.
|
57 |
outputs=[gr.outputs.HTML(label="Detected Predicates"),
|
58 |
gr.outputs.Textbox(label="Generated QAs"),
|
59 |
gr.outputs.JSON(label="Raw QASemEndToEndPipeline Output")],
|
|
|
53 |
|
54 |
iface = gr.Interface(fn=call,
|
55 |
inputs=[gr.inputs.Textbox(placeholder=input_sent_box_label, label="Sentence", lines=4),
|
56 |
+
gr.inputs.Slider(minimum=0., maximum=1., step=0.01, default=0.75, label="Nominalization Detection Threshold")],
|
57 |
outputs=[gr.outputs.HTML(label="Detected Predicates"),
|
58 |
gr.outputs.Textbox(label="Generated QAs"),
|
59 |
gr.outputs.JSON(label="Raw QASemEndToEndPipeline Output")],
|