> ## Documentation Index
> Fetch the complete documentation index at: https://mintlify.com/gradio-app/gradio/llms.txt
> Use this file to discover all available pages before exploring further.

# TabbedInterface

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

## Constructor

```python theme={null}
gr.TabbedInterface(
    interface_list,
    tab_names=None,
    title=None,
    analytics_enabled=None
)
```

### Parameters

<ParamField path="interface_list" type="Sequence[Blocks]" required>
  A list of Interfaces (or Blocks) to be rendered in the tabs.
</ParamField>

<ParamField path="tab_names" type="list[str] | None" default="None">
  A list of tab names. If None, the tab names will be "Tab 1", "Tab 2", etc.
</ParamField>

<ParamField path="title" type="str | None" default="None">
  The tab title to display when this demo is opened in a browser window.
</ParamField>

<ParamField path="analytics_enabled" type="bool | None" default="None">
  Whether to allow basic telemetry. If None, will use GRADIO\_ANALYTICS\_ENABLED environment variable or default to True.
</ParamField>

## Example

```python theme={null}
import gradio as gr

def classify(text):
    return {"positive": 0.8, "negative": 0.2}

def translate(text):
    return "Hola, " + text

interface1 = gr.Interface(fn=classify, inputs="text", outputs="label")
interface2 = gr.Interface(fn=translate, inputs="text", outputs="text")

demo = gr.TabbedInterface(
    [interface1, interface2],
    tab_names=["Classifier", "Translator"]
)
demo.launch()
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.