Agent skill · practicalswan
huggingface-gradio
Build Gradio web UIs and demos in Python. Use when creating or editing Gradio apps, components, event listeners, layouts, or chatbots.
What it needs
About 12k tokens when loaded.
What this skill does
Gradio Gradio is a Python library for building interactive web UIs and ML demos. This skill covers the core API, patterns, and examples. Guides Detailed guides on specific topics (read these when relevant): Quickstart The Interface Class Blocks and Event Listeners Controlling Layout More Blocks Features Custom CSS and JS Streaming Outputs Streaming Inputs Sharing Your App Custom HTML Components Getting Started with the Python Client Getting Started with the JS Client Core Patterns Interface (high-level): wraps a function with input/output components. Blocks (low-level): flexible layout with explicit event wiring. ChatInterface: high-level wrapper for chatbot UIs. Key Component Signatures Textbox(value: str I18nData Callable None = None, type: Literal['text', 'password', 'email'] = "text", lines: int = 1, maxlines: int None = None, placeholder: str I18nData None = None, label: str I18nData None = None, info: str I18nData None = None, every: Timer float None = None, inputs: Component Sequence[Component] set[Component] None = None, showlabel: bool None = None, container: bool = True, scale: int None = None, minwidth: int = 160, interactive: bool None = None, visible: bool Literal['hidden'] = True, elemid: str None = None, autofocus: bool = False, autoscroll: bool = True, elemclasses: list[str] str None = None, render: bool = True, key: int str tuple[int str, ...] None = None, preservedbykey: list[str] str None = "value", textalign: Literal['left', 'right'] None = None, rtl: bool = False, buttons: list[Literal['copy'] Button] None = None, maxlength: int None = None, submitbtn: str bool None = False, stopbtn: str bool None = False, htmlattributes: InputHTMLAttributes None = None) Creates a textarea for user to enter string input or display string output.. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills practicalswan/huggingface-gradio