New to Gradio? Start here: Getting Started
See the Release History
gradio.Interpretation(component, ยทยทยท)
Behavior
As input: this component does *not* accept input.
As output: expects a dict with keys "original" and "interpretation".
Initialization
Parameter | Description |
---|---|
component
Component required |
Which component to show in the interpretation widget. |
visible
bool default: True |
Whether or not the interpretation is visible. |
elem_id
str | None default: None |
An optional string that is assigned as the id of this component in the HTML DOM. Can be used for targeting CSS styles. |
elem_classes
list[str] | str | None default: None |
An optional list of strings that are assigned as the classes of this component in the HTML DOM. Can be used for targeting CSS styles. |