Buttons with Gradio

Learn about including buttons in Gradio applications, and how to assign actions to the buttons.

The Button component

The usage of a Button is quite self-explanatory. When instantiated, it will create a button, that can be assigned a myriad of arbitrary click events. The button label (or value) can be used as an input or set via the output of a function.

Get hands-on with 1300+ tech skills courses.