- Building Demos
- TabbedInterface
New to Gradio? Start here: Getting Started
See the Release History
To install Gradio from main, run the following command:
pip install https://gradio-builds.s3.amazonaws.com/15ce43720d1611f44e4661c74d604eabe0d04daf/gradio-6.28.0-py3-none-any.whl*Note: Setting share=True in launch() will not work.
TabbedInterface
gradio.TabbedInterface(interface_list, ···)Description
A TabbedInterface is created by providing a list of Interfaces or Blocks, each of which gets rendered in a separate tab. Only the components from the Interface/Blocks will be rendered in the tab.
Initialization
Parameters
tab_names: list[str] | None
tab_names: list[str] | Nonedefault
= NoneA list of tab names. If None, the tab names will be "Tab 1", "Tab 2", etc.
title: str | None
title: str | Nonedefault
= NoneThe tab title to display when this demo is opened in a browser window.