Introducing Gradio Clients

Watch

New to Gradio? Start here: Getting Started

See the Release History

To install Gradio from main, run the following command:

pip install https://gradio-builds.s3.amazonaws.com/8c32103e625445b5962b037ed65c7d1f68be2f67/gradio-4.39.0-py3-none-any.whl

*Note: Setting share=True in launch() will not work.

Accordion

gradio.Accordion(···)

Description

Accordion is a layout element which can be toggled to show/hide the contained content.

Example Usage

with gr.Accordion("See Details"):
    gr.Markdown("lorem ipsum")

Initialization

Parameters