Skip to main content
A TabbedInterface is created by providing a list of Interfaces or Blocks, each of which gets rendered in a separate tab.

Constructor

Parameters

Sequence[Blocks]
required
A list of Interfaces (or Blocks) to be rendered in the tabs.
list[str] | None
default:"None"
A list of tab names. If None, the tab names will be “Tab 1”, “Tab 2”, etc.
str | None
default:"None"
The tab title to display when this demo is opened in a browser window.
bool | None
default:"None"
Whether to allow basic telemetry. If None, will use GRADIO_ANALYTICS_ENABLED environment variable or default to True.

Example