Custom Components GalleryNEW

Explore

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/3ab30eefe0cfd2e9c4a23989381e5c583a92c69d/gradio-4.29.0-py3-none-any.whl

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

Python Client

The lightweight Gradio client libraries make it easy to use any Gradio app as an API. We currently support both a Python client library as well as a JavaScript client library.

The Python client library is gradio_client. It's included in the latest versions of the gradio package, but for a more lightweight experience, you can install it using pip without having to install gradio:

pip install gradio_client

The library mainly consists of two primary classes: Client and Job. Learn more by reading our guide: Getting Started with the Python Client