File size: 811 Bytes
a62bbf7
 
 
 
 
 
bbe71e4
 
a62bbf7
 
bbe71e4
a62bbf7
 
bbe71e4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import gradio as gr
from top_section import create_top_section, create_dropdown

def show_section_wounded(visible):
    #with gr.Tab("Wounded Information"):
    with gr.Column(visible=visible) as wounded_section:
        gr.Markdown("# Wounded Animal")
        gr.Markdown("Please describe the wound's cause.")

        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)

    # 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