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/d18d23369aa7904189c4c3e5f62eaa924a5f9efb/gradio-4.31.5-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