Skip to content
Tools · Aug 25, 2026

Gradio introduces gr.Workflow for building, running, and deploying AI pipelines

New visual workflow builder lets users chain models, datasets, and custom functions into reusable pipelines with built-in REST APIs and one-command deployments to Hugging Face Spaces.

Trust79
HypeLow hype

1 source · cross-referenced

ShareXLinkedInEmail
TL;DR
  • Gradio’s new gr.Workflow lets users visually build AI pipelines by chaining models, datasets, and custom functions into typed-node graphs.

Gradio has added gr.Workflow, a visual tool for constructing AI pipelines as typed-node graphs where each node represents an input, operator, or output. Operators can call Hugging Face Inference Providers, other Gradio Spaces, or custom Python functions, and intermediate results are displayed in place during execution.

Users can drag-and-drop to connect nodes, run the pipeline interactively, and inspect outputs without leaving the canvas. The same graph automatically becomes a REST API with endpoints named after each output label, enabling programmatic calls without additional configuration.

Example workflows demonstrate fan-out patterns: one prompt can generate a base image via FLUX, remove its background via a background-removal Space, and produce a title via an LLM—all from a single canvas and exposed as separate REST endpoints.

Pipelines can also fan out to parallel analyses of a Hugging Face dataset using the Datasets Server API, producing overview cards, row previews, per-column statistics, and distribution charts independently and concurrently.

For custom compute, an fn node can run a user’s own GPU model by decorating a Python function with @spaces.GPU; ZeroGPU allocates a GPU for the call, runs the model, and releases it, enabling end-to-end pipelines without relying solely on hosted inference.

Deploying a workflow to Hugging Face Spaces is a one-command process from the same graph, and the REST endpoints are immediately available for integration via the Gradio client or plain HTTP requests.

The workflows can be duplicated from live Spaces, modified, and redeployed, or built from scratch in Python with a minimal API: import gradio as gr; gr.Workflow(bind=[your_function]).launch().

Sources
  1. 01Hugging FaceWire It, Run It, Deploy It: AI Workflows in Gradio
Also on Tools

Stories may contain errors. Dispatch is assembled with AI assistance and curated by human editors; despite the trust-score filter, mistakes happen. We correct publicly — every article links to its revision history. Nothing here is financial, legal, or medical advice. Verify before relying on any claim.

© 2026 Dispatch. No ads. No sponsorships. No paid placement. Reader-supported via Ko-fi.

Built by a person who cares about honest AI news.