TabbedInterface

Learn about how to use the TabbedInterface class to create multiple tabs in your Gradio application.

Overview

We have seen how to create a quick UI using the Interface class. With a simple launch, we could show on the web page some inputs, process them in a function and produce some output.

When we move on to build more complex demos and UI, we need to have multiple pages. Similar to how web pages have links to other pages, or how Excel has multiple sheets, we often want to break up the UI into different tabs. This is where the TabbedInterface class comes in. The TabbedInterface makes it easy to have different tabs, each having its Interface object.

Get hands-on with 1300+ tech skills courses.