← All stories
● Covered by 1 source · 1 reportMedium impact1 neutral

Gradio Introduces gr.Workflow for Building AI Pipelines with Visual Interfaces and REST APIs

🔄 Updated 2h ago
New to BrevFeed? We gather this story from every outlet covering it into one summary — ranked by real-world impact, not just the latest headline — so you never miss what matters. What is BrevFeed? →

Key points

  • gr.Workflow integrates AI pipelines directly into Gradio.
  • Workflows are defined as graphs of typed nodes with a drag-and-drop canvas.
  • Each workflow automatically generates a REST API and deploys to Hugging Face Spaces.
  • Supports parallel execution and integration with Hugging Face Inference Providers and Spaces.

Introducing gr.Workflow in Gradio

Gradio has released gr.Workflow, a new capability designed to streamline the creation and deployment of AI pipelines. This feature allows developers to define complex AI processes as a graph of interconnected, typed nodes. The system then presents these pipelines as an interactive, drag-and-drop canvas where each node is runnable and intermediate results are visible.

Unified Interface and API Generation

A key aspect of gr.Workflow is its ability to generate both a visual user interface and a REST API from the same graph definition. This means that once a workflow is designed, it can be interacted with through a web-based canvas or programmatically via its automatically generated REST endpoints. Additionally, these workflows can be deployed to Hugging Face Spaces with a single command.

Flexible AI Application Examples

The new workflow system supports various AI application patterns. Examples include image editing workflows that call models like Qwen-Image-Edit, multi-pipeline applications that generate images, remove backgrounds, and create voiceovers or episode titles, and fan-out patterns where a single input generates multiple outputs in parallel. These examples demonstrate integration with Hugging Face Inference Providers and other Gradio Spaces.

Dataset Analysis and GPU Integration

gr.Workflow also facilitates dataset analysis, allowing users to input a Hugging Face dataset ID and have multiple operator nodes analyze the data in parallel using the Datasets Server API. Furthermore, the system supports running models directly within a Space on a GPU using an 'fn' node decorated with @spaces.GPU, which utilizes ZeroGPU for resource allocation.

✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →

The daily brief

One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.

One email a day. Unsubscribe in one click, any time.

Today's brief

Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.

~7 min · 6 stories · Aug 24

▶ Play today's brief Listen on Spotify

New every morning, and the back catalogue is archived by date.

Reporting from

Gradio has launched gr.Workflow, a new feature that allows users to define AI pipelines as a graph of typed nodes, providing a drag-and-drop canvas for interaction. This development simplifies the creation and deployment of multi-step AI applications, making them accessible as both visual interfaces and REST APIs, and enabling one-command deployment to Hugging Face Spaces.