Agent skill · DevOps & Cloud

gradio

Python library for building ML demo UIs with minimal code. Create interactive web interfaces for models with text, image, audio, and video inputs/outputs. Share demos via public links or deploy to Hugging Face Spaces.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill gradio --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 6 KB
Bundled scripts: none
Version: 1.0.0
Declared author: terminal-skills
Requires: python 3.8+, gradio 4.0+, Linux/macOS/Windows
Path: skills/ai-ml/gradio/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Gradio ## Installation ```bash # Install Gradio pip install gradio ``` ## Quick Start — Simple Interface ```python # hello.py — Minimal Gradio app with a text interface import gradio as gr def greet(name: str, intensity: int) -> str: return "Hello, " + name + "!" * intensity demo = gr.Interface( fn=greet, inputs=["text", gr.Slider(1, 10, value=1, label="Excitement")], outputs="text", title="Greeting Generator", description="Enter your name and excitement level.", ) demo.launch() # Opens http://localhost:7860 ``` ## Chat Interface ```python # chatbot.py — Build a chatbot UI with streaming responses import gradio as gr from openai import OpenAI client = OpenAI() def chat(message: str, history: list) -> str: messages = [{"role": "system", "content": "You are a helpful assistant."}] for h in history: messages.append({"role": "user", "content": h[0]}) if h[1]: messages.append({"role": "assistant", "content": h[1]}) messages.append({"role": "user", "content": message}) response = client.chat.completions.create( model="gpt-4", messages=messages, stream=True, ) partial = "" for chunk in response: if chunk.choices[0].delta.content: partial += chunk.choices[0].delta.content yield partial d

What's inside
Steps it walks through
  1. Installation
  2. Quick Start — Simple Interface
  3. Chat Interface
  4. Image Classification
  5. Blocks API (Custom Layouts)
  6. File Upload and Download
  7. Authentication and Sharing
  8. Deploy to Hugging Face Spaces
  9. API Access
  10. Key Concepts
Ships with 1 file
  • metadata.json
Commands it runs
Install Gradio
pip install gradio
Create a Space on Hugging Face
pip install huggingface_hub
huggingface-cli repo create my-demo --type space --space-sdk gradio
Clone and push
git clone https://huggingface.co/spaces/username/my-demo
cd my-demo
Add app.py and requirements.txt, then push
git add . && git commit -m "Initial demo" && git push
More from claude-skill-registry
All skills →
About this skill
What does the gradio skill do?

Python library for building ML demo UIs with minimal code. Create interactive web interfaces for models with text, image, audio, and video inputs/outputs. Share demos via public links or deploy to Hugging Face Spaces.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill gradio --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going