jayebaku commited on
Commit
3c8dac4
·
verified ·
1 Parent(s): 475b809

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -132,8 +132,8 @@ with gr.Blocks() as demo:
132
  outputs=[flood_checkbox_output, fire_checkbox_output, none_checkbox_output, model_confidence, num_posts, data])
133
  accuracy_button.click(
134
  calculate_accuracy,
135
- inputs=[flood_checkbox_output, fire_checkbox_output, none_checkbox_output, num_posts, text_field, data, csv],
136
- outputs=[incorrect, correct, accuracy, data_eval])
137
 
138
  with gr.Tab("Question Answering"):
139
  # XXX Add some button disabling here, if the classification process is not completed first XXX
 
132
  outputs=[flood_checkbox_output, fire_checkbox_output, none_checkbox_output, model_confidence, num_posts, data])
133
  accuracy_button.click(
134
  calculate_accuracy,
135
+ inputs=[flood_checkbox_output, fire_checkbox_output, none_checkbox_output, num_posts, text_field, data],
136
+ outputs=[incorrect, correct, accuracy, data_eval, csv])
137
 
138
  with gr.Tab("Question Answering"):
139
  # XXX Add some button disabling here, if the classification process is not completed first XXX