// devtools · gradio-app/gradio

Gradio

Gradio est un projet de développement open source, créé par gradio-app (gradio-app/gradio sur GitHub). Il compte 43 671 étoiles sur GitHub et 3 616 forks, il est publié sous la licence Apache-2.0 et a été mis à jour pour la dernière fois sur GitHub le 2 octobre 2026.

Build machine-learning web demos in Python within minutes — the fastest way to share a model with the world.

★ 43,7 k étoiles⑂ 3,6 k forksApache-2.0mis à jour oct. 2026
▦ visuel — le README de ce projet ne contient aucune capture intégrable,
voici donc un emplacement réservé. Le guide ci-dessous est complet malgré tout.
// détails du projet

Détails du projet

Étoiles GitHub
43 671
Forks
3 616
Licence
Apache-2.0
Dernière mise à jour sur GitHub
2 octobre 2026
Catégorie
Développement
Type de fiche
Guide d'installation complet
Site officiel
Official site
// fonctionnement

Comment ça marche

  1. Write a function

    Any Python function — a model call, a transform, a pipeline — becomes your app logic.

  2. Wrap it in an Interface

    Declare inputs and outputs; Gradio builds the UI around them.

  3. Launch

    One call serves a local web UI with API docs included.

  4. Share it

    Get a public link or deploy permanently to Hugging Face Spaces.

// fonctionnalités

Pourquoi on l'adore

Minutes to demo

From Python function to interactive web app in under ten lines of code.

Rich components

Chatbots, image editors, audio recorders, 3D viewers, and dataframes out of the box.

Streaming

Stream tokens, audio, and video for responsive real-time demos.

API for free

Every demo ships an OpenAPI endpoint — script it like any web service.

Spaces hosting

One click deploys your demo free on Hugging Face Spaces.

Custom themes

Theme builder and custom CSS for demos that match your brand.

Advertisement
// lancez-le

Lancez-le vous-même

  1. Step 1 — Install

    Pip-install Gradio into your environment.

    pip install gradio
  2. Step 2 — Write your app

    Interface, Blocks, or ChatInterface — pick the abstraction that fits.

    import gradio as gr
  3. Step 3 — Launch and share

    Run locally, then share publicly or deploy to Spaces.

    demo.launch(share=True)
// cas d'usage

Ce que vous pouvez créer

Advertisement
// faq

Questions fréquentes

Who maintains Gradio?

It is an open-source project at gradio-app/gradio with 3,245 forks. Check the repo's contributors and recent commits to see how active maintenance is.

Is Gradio free for commercial use?

Yes — Apache-2.0, including the hosted sharing links.

Gradio vs Streamlit?

Gradio is purpose-built for ML demos (media components, streaming); Streamlit is a general data-app framework.

Can I use my own GPU?

Yes — run locally on your hardware, or deploy to Spaces with GPU upgrades.

Does it work offline?

Local launches work on your LAN; public share links need internet.

// continuez l'exploration

Outils similaires

Développement

Transformers

The model-definition framework behind modern AI — thousands of pretrained transformers for text, vision, and audio.

★ 166,9 k étoilesApache-2.0
Voir le guide →
Image

diffusers

🤗 Diffusers: State-of-the-art diffusion models for image, video, and audio generation in PyTorch.

★ 34,6 k étoilesApache-2.0
Voir le guide →
Image

ComfyUI

The node-graph powerhouse for precise, professional AI image and video generation.

★ 136,0 k étoilesGPL-3.0
Voir le guide →
Développement

trafilatura

Trafilatura — a Python and CLI tool to crawl the web and extract clean text and metadata for corpora and RAG.

★ 6,9 k étoilesApache-2.0
Voir le guide →
Développement

postgresml

PostgresML — machine learning inside PostgreSQL with GPU acceleration: train, embed and run LLMs in SQL.

★ 6,8 k étoilesMIT
Voir le guide →
Développement

csharp-sdk

The official C# SDK for the Model Context Protocol — build MCP servers and clients in .NET

★ 4,6 k étoilesApache-2.0
Voir le guide →
// alternatives

Alternatives en Développement

Les autres projets de la catégorie Développement avec le plus d'étoiles du catalogue LibreAI — la sélection réaliste d'alternatives si Gradio ne vous convient pas.

// plus en devtools

Plus en Développement

Projets de la catégorie Développement proches dans le catalogue, les plus proches en étoiles de Gradio — continuez à explorer de part et d'autre.

Obtenir Gradio

Gratuit et ouvert : récupérez le code source, mettez une étoile au dépôt et commencez à créer.