Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -56,15 +56,15 @@ with gr.Blocks() as demo:
|
|
| 56 |
with gr.Row(): # XXX confirm this is not a problem later --equal_height=True
|
| 57 |
with gr.Column():
|
| 58 |
gr.Markdown("""### Flood-related""")
|
| 59 |
-
flood_checkbox_output = gr.CheckboxGroup(label="Select ONLY incorrect classifications")
|
| 60 |
|
| 61 |
with gr.Column():
|
| 62 |
gr.Markdown("""### Fire-related""")
|
| 63 |
-
fire_checkbox_output = gr.CheckboxGroup(label="Select ONLY incorrect classifications")
|
| 64 |
|
| 65 |
with gr.Column():
|
| 66 |
gr.Markdown("""### None""")
|
| 67 |
-
none_checkbox_output = gr.CheckboxGroup(label="Select ONLY incorrect classifications")
|
| 68 |
|
| 69 |
predict_button.click(load_and_analyze_csv, inputs=[file_input, text_field, event_model],
|
| 70 |
outputs=[flood_checkbox_output, fire_checkbox_output, none_checkbox_output])
|
|
|
|
| 56 |
with gr.Row(): # XXX confirm this is not a problem later --equal_height=True
|
| 57 |
with gr.Column():
|
| 58 |
gr.Markdown("""### Flood-related""")
|
| 59 |
+
flood_checkbox_output = gr.CheckboxGroup(label="Select ONLY incorrect classifications", interactive=True)
|
| 60 |
|
| 61 |
with gr.Column():
|
| 62 |
gr.Markdown("""### Fire-related""")
|
| 63 |
+
fire_checkbox_output = gr.CheckboxGroup(label="Select ONLY incorrect classifications", interactive=True)
|
| 64 |
|
| 65 |
with gr.Column():
|
| 66 |
gr.Markdown("""### None""")
|
| 67 |
+
none_checkbox_output = gr.CheckboxGroup(label="Select ONLY incorrect classifications", interactive=True)
|
| 68 |
|
| 69 |
predict_button.click(load_and_analyze_csv, inputs=[file_input, text_field, event_model],
|
| 70 |
outputs=[flood_checkbox_output, fire_checkbox_output, none_checkbox_output])
|