---
title: "Showcase Your Projects in Spaces using Gradio"
description: "Gradio's Hugging Face Hub integration lets you build an ML demo from a Hub model ID in a few lines: gr.Interface.load plus a title, description and example inputs, backed by the Inference API."
url: "https://swe.quest/articles/showcase-your-projects-in-spaces-using-gradio-939ccccc3ad428cf"
canonical: "https://huggingface.co/blog/gradio-spaces"
source: "Hugging Face"
published: "2021-10-05"
difficulty: "medium"
kind: "How-to"
reading_minutes: 3
tags: ["machine-learning","python","inference"]
---

# Showcase Your Projects in Spaces using Gradio

A post on [Hugging Face](https://swe.quest/sources/hugging-face.md), published 2021-10-05, 3 min read, How-to. Original: [https://huggingface.co/blog/gradio-spaces](https://huggingface.co/blog/gradio-spaces)

## Summary

Gradio's Hugging Face Hub integration lets you build an ML demo from a Hub model ID in a few lines: gr.Interface.load plus a title, description and example inputs, backed by the Inference API. You can host these demos for free on Hugging Face Spaces by adding an app.py, and wrap custom checkpoints in an Interface when the Inference API doesn't support them. Gradio's Series chains models together, shown here as a French story generator built from Opus MT translation models around a GPT-2 story generator.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Machine learning](https://swe.quest/tags/machine-learning.md) (AI & ML)
- [Python](https://swe.quest/tags/python.md) (Languages)
- [Inference & serving](https://swe.quest/tags/inference.md) (AI & ML)

## Prerequisites

- Python basics ([easy posts on Python](https://swe.quest/tags/python.md?difficulty=easy))

## Keywords

Gradio, Hugging Face Spaces, Hugging Face Inference API, GPT-2, BigGAN, Opus MT

## Related posts

- [Wire It, Run It, Deploy It: AI Workflows in Gradio](https://swe.quest/articles/wire-it-run-it-deploy-it-ai-workflows-in-gradio-cb75b6e96a2edb26.md): Hugging Face · 2026-08-25 · Medium · 5 min read · Developer tools, Python, Machine learning, API design
  Gradio's gr.Workflow turns AI pipelines into a graph of typed nodes (reference inputs, operator steps, subject outputs) served as a drag-and-drop canvas where every node is runnable and intermediate results are visible.
- [Introducing Daggr: Chain apps programmatically, inspect visually](https://swe.quest/articles/introducing-daggr-chain-apps-programmatically-inspect-visually-6410fcfcb5ab3906.md): Hugging Face · 2026-01-29 · Medium · 8 min read · Python, ML platforms, Developer tools, Open source
  Daggr is an open-source Python library from the Gradio team for chaining Gradio Spaces, Hugging Face Inference Providers models and custom Python functions into workflows defined in code, with an automatically generated visual canvas.
- [Run ComfyUI workflows for free with Gradio on Hugging Face Spaces](https://swe.quest/articles/run-comfyui-workflows-for-free-with-gradio-on-hugging-face-spaces-4962232981692f52.md): Hugging Face · 2024-01-14 · Medium · 13 min read · Python, Inference & serving, Serverless, Computer vision, Deployment
  A ComfyUI node workflow can be turned into a standalone Gradio app and hosted for free on Hugging Face Spaces' serverless ZeroGPU tier.
- [Hosting your Models and Datasets on Hugging Face Spaces using Streamlit](https://swe.quest/articles/hosting-your-models-and-datasets-on-hugging-face-spaces-using-streamlit-a8983f0b0bfbdd51.md): Hugging Face · 2021-10-05 · Medium · 3 min read · Python, Machine learning, Deployment
  Streamlit apps can showcase Hugging Face models and datasets and be hosted on Hugging Face Spaces.
- [How an Agent Built a 3D Paris Gallery by Chaining Two Hugging Face Spaces](https://swe.quest/articles/how-an-agent-built-a-3d-paris-gallery-by-chaining-two-hugging-face-spaces-854f07cf2fac2554.md): Hugging Face · 2026-06-09 · Medium · 9 min read · AI agents, AI for coding, Computer vision, API design
  Every Gradio Space on Hugging Face now exposes a plain-text agents.md describing its API schema, call/poll endpoints, file upload and auth, so a coding agent can drive a Space with no client library.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
