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

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!

Gradio banner

Hello World

See Gradio in action

hello_world.py
import gradio as gr

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

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

Live Demo

gradio/hello_world built with Gradio · Hosted on Hugging Face Spaces

Examples

What you can build with Gradio

Loading preview...

Airbnb Map

Interactive map visualization of Airbnb listings

gradio/map_airbnb
built with Gradio · Hosted on Hugging Face Spaces
Loading preview...

Chatbot Streaming

Real-time streaming chatbot interaction

gradio/chatinterface_streaming_echo
built with Gradio · Hosted on Hugging Face Spaces
Loading preview...

Diffusion Faces

Generate faces with diffusion models

gradio/fake_gan
built with Gradio · Hosted on Hugging Face Spaces
Loading preview...

Style Transfer

Apply artistic styles to your images

gradio/style_transfer
built with Gradio · Hosted on Hugging Face Spaces

Features

Why Gradio is the best choice

Fast, easy setup

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

Present and share

Gradio can be embedded in Python notebooks or presented as a webpage. Share your model with colleagues via automatically generated public links.

Permanent hosting

Host your interface permanently on Hugging Face Spaces with a shareable link. No server setup required.

Used by

Trusted by industry leaders

Google
Amazon
Facebook
Cisco
Twitter
VMware
Hugging Face

Testimonials

What people are saying

Anastasios Nikolas Angelopoulos

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.

Jaydeep

Jaydeep

@_jaydeepkarale

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

Art Litvinau

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

Ready to build your ML app?

Get started with Gradio today and deploy your machine learning models with ease.

Made with DeepSite LogoDeepSite - 🧬 Remix