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/d6f6f18bff72a33b3e2f135b309ec3fc4185c7bf/gradio-4.9.1-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_clientThe library mainly consists of two primary classes: Client
and Job. Learn more by reading
our guide:
Getting Started with the Python Client