Open source

Gradio

Quick explainer1 min readBeginner

Gradio is an open-source Python library for turning a machine learning model, or any Python function, into a simple web app you can share with a link.

In plain words

Showing off a model usually means building a website, which needs web skills. With Gradio you write a Python function, say what kind of inputs and outputs it has, such as text boxes or images, and Gradio builds the web page for you. Adding one option creates a public link, and Hugging Face Spaces can host the app permanently.

A quick example

Imagine you trained a model that guesses the mood of a sentence. You wrap its prediction in a Python function, tell Gradio the input is text and the output is a label, and launch it. A friend on another continent opens the share link and types sentences in their browser while the model runs on your computer.

Where you'll meet it

  • Quick demos of machine learning models.
  • Apps hosted on Hugging Face Spaces.

Related

Sources

  1. DocsQuickstart, Gradio documentation · read 29 Sept 2026
  2. DocsSharing your app, Gradio documentation · read 29 Sept 2026
  3. Docsgradio-app/gradio, Gradio (GitHub) · read 29 Sept 2026

Checked by WhatIsAI against the sources above · 29 Sept 2026. Spotted an error? Report it.