jayebaku commited on
Commit
454d59a
·
verified ·
1 Parent(s): fc36c14

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -188,7 +188,7 @@ with gr.Blocks(fill_width=True) as demo:
188
  model_sing_classify = gr.Dropdown(event_models, value=event_models[0], label="Select classification model")
189
  with gr.Column(scale=7):
190
  with gr.Accordion("Prediction threshold", open=False):
191
- T_threshold = gr.Slider(0, 1, value=0, step=0.01, label="Prediction threshold", show_label=False,
192
  info="This value sets a threshold by which texts classified flood or fire are accepted, \
193
  higher values makes the classifier stricter (CAUTION: A value of 1 will set all predictions as none)", interactive=True)
194
 
 
188
  model_sing_classify = gr.Dropdown(event_models, value=event_models[0], label="Select classification model")
189
  with gr.Column(scale=7):
190
  with gr.Accordion("Prediction threshold", open=False):
191
+ threshold_sing_classify = gr.Slider(0, 1, value=0, step=0.01, label="Prediction threshold", show_label=False,
192
  info="This value sets a threshold by which texts classified flood or fire are accepted, \
193
  higher values makes the classifier stricter (CAUTION: A value of 1 will set all predictions as none)", interactive=True)
194