Gradio Agents & MCP Hackathon · Virtual, June 2-8 · $10k+ in prizes

Register Now
Gradio Banner
Build & share delightful machine learning apps

Gradio is the fastest way to demo your machine learning model with a friendly web interface so that anyone can use it, anywhere!

import gradio as gr

def greet(name):
    return "Hello " + name + "!"

demo = gr.Interface(fn=greet, inputs="text", outputs="text")
demo.launch()   

Fast, easy setup

Gradio can be installed with pip. Creating a Gradio interface only requires adding a couple lines of code to your project.

Seamlessly use any python library on your computer. If you can write a python function, gradio can run it.

Present and share

Gradio can be embedded in Python notebooks or presented as a webpage.

A Gradio interface can automatically generate a public link you can share with colleagues that lets them interact with the model on your computer remotely from their own devices.

Permanent hosting

Once you've created an interface, you can permanently host it on Hugging Face.

Hugging Face Spaces will host the interface on its servers and provide you with a link you can share.

Used by

Anastasios Nikolas Angelopoulos @ml_angelopoulos

We love @Gradio.

It helped us scale to our first million users. Amazing and undervalued that Gradio can do this.

cc @_akhaliq

Jaydeep @_jaydeepkarale

Gradio was love at first sight..so easy to use

Will Rice @_Will_Rice

Just tried out @Gradio and I am very impressed. Only took like 10mins to put together a #tts demo.

Art Litvinau @ArtLitvinau

I love how easy is to build quick prototypes with @Gradio ⚡️ this one took me 45 minutes with no previous experience with the library

Shirochenko Dmitriy @dmshirochenko

Spent the weekend prototyping LLM interfaces directly in Python. @gradio-app is a game changer for rapid UI development. Forget wrestling with JS/CSS; share your model in seconds. Thinking this unlocks serious iteration speed.

iCode2 @Ifeanyidiaye

Apart from being very easy to use, one thing that I simply love about @Gradio is its Javascript client, which makes it easy to build a nice HTML frontend for Python applications. This integration makes me rank gradio high in my list of favorite Python libraries.

Amar Saini @_Epoching_

Just built a ️@Gradio app for a video related deep learning project.
I’m astonished by how simple it is to use & how elegant it looks! Lots and lots of great features & flexibility. Thanks for making this ❤

Roxana Daneshjou MD/PhD @RoxanaDaneshjou

Honestly, without @Gradio, we would not be doing a real time AI trial. We have many other ideas for algorithms we want to test through clinical trials, and we know it's possible thanks to @Gradio.

Vinay Prabhu @vinayprabhu

Dear #MachineLearning twitter,
If you haven't typed:
$ pip install gradio
yet, now would be a damn good time.
Especially if you are working in computer vision & deploying models in the real world.