Hi , I want to toggle ability to interact with Hair color
and Hair length
when the hair checkbox is changed.
with gr.Row():
is_hair = gr.Checkbox(label="hair", value=False)
hair_color = gr.Dropdown(
choices=HAIR_COLOR,
label="Hair Color",
container=True,
# value="black",
)
hair_type = gr.Dropdown(
choices=HAIR_TYPE,
label="Hair Type",
container=True,
# value="straight",
)
Is there a way to disable interaction of other twos while unchecking
hair
?