kleinay commited on
Commit
1293809
β€’
1 Parent(s): 72f8242

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.5, 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")],
 
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")],