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/30463c5e158e8e19f404a553c1556aab56393725/gradio-4.31.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