value: typing.Optional[typing.Dict[str, typing.List[str]]][
typing.Dict[str, typing.List[str]][
str, typing.List[str][str]
],
None,
]
value: typing.Optional[typing.Dict[str, typing.List[str]]][
typing.Dict[str, typing.List[str]][
str, typing.List[str][str]
],
None,
]
= None
A dictionary where keys are group names and values are lists of tags.
height: int | None
height: int | None
= None
The height of the component container in pixels.
width: int | None
width: int | None
= None
The width of the component container in pixels.
label: str | None
label: str | None
= None
The label for this component, displayed above the groups.
font_size_scale: int
font_size_scale: int
= 100
A percentage to scale the font size of group headers and tags. Defaults to 100.
every: float | None
every: float | None
= None
If `value` is a callable, run the function 'every' seconds while the client connection is open.
show_label: bool | None
show_label: bool | None
= None
If False, the label is not displayed.
container: bool
container: bool
= True
If False, the component will not be wrapped in a container.
scale: int | None
scale: int | None
= None
The relative size of the component compared to others in a `gr.Row` or `gr.Column`.
min_width: int
min_width: int
= 160
The minimum width of the component in pixels.
interactive: bool | None
interactive: bool | None
= None
if True, will be rendered as an selectable component; if False, editing will be disabled. If not provided, this is inferred based on whether the component is used as an input or output.
target_textbox_id: str | None
target_textbox_id: str | None
= None
The `elem_id` of the `gr.Textbox` component to target. Required.
separator: str
separator: str
= ", "
The string to use as a separator between tags. Defaults to ", ". Can be set to " " for space separation.
visible: bool
visible: bool
= True
If False, the component will be hidden.
elem_id: str | None
elem_id: str | None
= None
An optional string that is assigned as the id of this component in the HTML DOM.
elem_classes: list[str] | str | None
elem_classes: list[str] | str | None
= None
An optional list of strings to assign as CSS classes to the component.