File size: 1,100 Bytes
a62bbf7
 
0eddb61
44607d3
a62bbf7
 
1f2cf9f
bbe71e4
f64836c
a62bbf7
 
bbe71e4
44607d3
59d7f29
44607d3
0eddb61
 
a62bbf7
3011029
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import gradio as gr
from top_section import create_top_section, create_dropdown
from followup_events import create_followup_section
from select_bird import create_bird_anatomy

def show_section_wounded(visible):
    with gr.Column(visible=visible, elem_id="wounded") as wounded_section:
        gr.Markdown("# Wounded Animal")
        gr.Markdown("# Please describe the wound's cause.", label="description")

        image_row, button_collision, button_deliberate_destruction, button_indirect_destruction, button_natural_cause = create_top_section(visible)      
        dropdown_row, dropdown, dropdown_level2, openfield_level2, dropdown_extra_level2 = create_dropdown(visible)
        
        img_with_boxes, physical_checkbox, physical_text = create_bird_anatomy("wounded")
        
        create_followup_section()

    # Change variables and names
    return wounded_section, button_collision, button_deliberate_destruction, button_indirect_destruction, button_natural_cause, dropdown, dropdown_level2, openfield_level2, dropdown_extra_level2, img_with_boxes, physical_checkbox, physical_text