espnet3.publication.demo.assets.DefaultAudioUI
Less than 1 minute
espnet3.publication.demo.assets.DefaultAudioUI
class espnet3.publication.demo.assets.DefaultAudioUI
Bases: UIAsset
Default Gradio audio asset.
This is the built-in asset used by the standard demo template for speech input and optional audio output.
Initialize one UI asset and cache the imported gradio module.
build_input(spec: dict[str, Any]) → Any
Build a gr.Audio input component.
build_output(spec: dict[str, Any]) → Any
Build a gr.Audio output component.
