CheckboxGroup with Gradio
Learn how to create a group of checkboxes beyond just a toggle!
We'll cover the following
The CheckboxGroup
class
Sometimes, we need a checkbox that has multiple options, rather than just a toggle between True
and False
. For example, if we wanted to create a group of checkboxes where users can select multiple items to be true (e.g. tick all foods that the user likes), it would be too cumbersome to define a checkbox for each item.
Get hands-on with 1300+ tech skills courses.