TabbedInterface
Explore how to create multi-tab user interfaces using Gradio's TabbedInterface class. Understand how to combine multiple Interface objects into organized tabs, enhancing your machine learning application's usability. This lesson guides you through adding placeholder tabs and structuring a dashboard with multiple pages for better interaction.
We'll cover the following...
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 ...