Build Gradio apps: create interactive demos, deploy to HF Spaces, use Blocks for custom layouts, integrate with pipelines, and share public links.
When to use this skill
- Building a Gradio demo
- Deploying to HF Spaces
- Creating a custom Gradio Blocks layout
Core concepts
This skill provides guidance on gradio apps best practices, patterns, and common pitfalls. It is designed to be loaded on demand when a relevant task is detected.
Installation
curl -LO https://opencode-skills.example/downloads/ai-ml/hf-gradio.zip
unzip hf-gradio.zip -d ~/.config/opencode/skills/
Restart OpenCode — the skill loads automatically.
When it triggers
- building a Gradio demo
- deploying to HF Spaces
- creating a custom Gradio Blocks layout