Gradio logo

New to Gradio? Start here: Getting Started

See the Release History

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