OFICIAL Hugging Face Blog

Wire It, Run It, Deploy It: AI Workflows in Gradio

What happened
Based on Hugging Face Blog · Aug 25, 2026

Hugging Face introduces gr.Workflow in Gradio, enabling drag-and-drop AI pipelines with live previews, REST APIs, and one-command deployments to Hugging Face Spaces.

Video

Video available

Key points
·
Edit an Image Chain real models into a media studio Fan-out image generation in parallel Profile a Hugging Face dataset Run your own GPU model How it works, in a nutshell Call it from code Build your own Most interesting AI apps are pipelines.
·
You generate an image, then cut out its background if you want to, or edit it into something new.
·
You write a script, then generate a voice for it, or swap the voice while keeping the script the same.
·
We usually wire these steps together in Python, and the moment something looks off we go back to print-debugging to find which step produced the odd value.

Hugging Face has integrated gr.Workflow into Gradio, transforming AI pipelines into interactive, drag-and-drop interfaces. Users can now describe workflows as typed node graphs, where each step is runnable and intermediate results are visible in real time. The same workflows automatically generate REST APIs and can be deployed to Hugging Face Spaces with a single command, simplifying the process of building and sharing AI applications.

The workflow system supports multiple node types, including Python functions, models from Hugging Face Inference Providers, Gradio Spaces, and Hub datasets. For example, a single input can fan out to generate images, remove backgrounds, or produce voiceovers in parallel. Each output becomes a dedicated REST endpoint, accessible directly from code without opening the UI, enabling seamless integration into larger systems.

Users can also run custom GPU models within workflows by decorating Python functions with @spaces.GPU, allowing ZeroGPU to dynamically allocate and release GPU resources for intensive tasks. This flexibility extends to running models like Lightricks/LTX-Video via Diffusers entirely within a Space, without requiring prior knowledge of the GPU setup. The workflow graph handles all orchestration automatically.

To get started, users can duplicate existing demo Spaces or build workflows from scratch using the gr.Workflow guide in the Gradio documentation. The system supports complex pipelines, including those resembling AUTOMATIC1111, with a full walkthrough planned for a future post. The integration aims to reduce debugging overhead and accelerate the deployment of AI-powered applications.

Original source → Deals on Clipraptor.com →