Gradio

Package: gradio43 nodes � Build ML demos and web UIs with Gradio

Build ML demos and web interfaces. Create input/output components, layouts, and event handlers for machine learning models.

Node Reference

Node Type Inputs Outputs
Interface statement Function (any), Inputs (any), Outputs (any), Title (str), Description (str), Examples (any) App (gradio.App)
Blocks statement Title (str), Theme (any), CSS (str) App (gradio.App)
Chat Interface statement Chat Function (any), Title (str), Description (str), Examples (any), Type (str) App (gradio.App)
Launch statement App (gradio.App), Host (str), Port (int), Share (bool), Debug (bool) -
Row statement Variant (str), Equal Height (bool) Row (gradio.Block)
Column statement Scale (int), Min Width (int), Variant (str) Column (gradio.Block)
Tab statement Label (str), Tab ID (str) Tab (gradio.Block)
Tabs statement - Tabs (gradio.Block)
Accordion statement Label (str), Open (bool) Accordion (gradio.Block)
Group statement - Group (gradio.Block)
Textbox statement Default Value (str), Label (str), Placeholder (str), Lines (int), Max Lines (int), Interactive (bool) Textbox (gradio.Block)
Text Area statement Default Value (str), Label (str), Placeholder (str), Lines (int), Interactive (bool) TextArea (gradio.Block)
Number statement Default Value (float), Label (str), Minimum (float), Maximum (float), Step (float), Interactive (bool) Number (gradio.Block)
Markdown statement Content (str), Label (str) Markdown (gradio.Block)
Html statement HTML (str), Label (str) HTML (gradio.Block)
Code statement Default Code (str), Language (str), Label (str), Interactive (bool) Code (gradio.Block)
Json statement Value (any), Label (str) JSON (gradio.Block)
Label statement Value (any), Label (str), Top Classes (int) Label (gradio.Block)
Slider statement Minimum (float), Maximum (float), Default (float), Step (float), Label (str), Interactive (bool) Slider (gradio.Block)
Checkbox statement Default (bool), Label (str), Interactive (bool) Checkbox (gradio.Block)
Checkbox Group statement Choices (any), Default (any), Label (str), Interactive (bool) CheckboxGroup (gradio.Block)
Radio statement Choices (any), Default (str), Label (str), Interactive (bool) Radio (gradio.Block)
Dropdown statement Choices (any), Default (str), Label (str), Multi Select (bool), Filterable (bool), Interactive (bool) Dropdown (gradio.Block)
Color Picker statement Default Color (str), Label (str), Interactive (bool) ColorPicker (gradio.Block)
Date Time statement Default Value (str), Label (str), Include Time (bool) DateTime (gradio.Block)
Image statement Default Image (any), Label (str), Type (str), Height (int), Width (int), Interactive (bool) Image (gradio.Block)
Audio statement Default Audio (any), Label (str), Type (str), Interactive (bool) Audio (gradio.Block)
Video statement Default Video (any), Label (str), Height (int), Width (int), Interactive (bool) Video (gradio.Block)
Gallery statement Images (any), Label (str), Columns (int), Height (int) Gallery (gradio.Block)
File statement Default File (any), Label (str), File Count (str), File Types (any), Interactive (bool) File (gradio.Block)
Model 3D statement Default Model (any), Label (str), Height (int), Interactive (bool) Model3D (gradio.Block)
Dataframe statement Data (any), Label (str), Headers (any), Row Count (int), Column Count (int), Interactive (bool) DataFrame (gradio.Block)
Plot statement Plot (any), Label (str) Plot (gradio.Block)
Bar Plot statement Data (any), X Column (str), Y Column (str), Color Column (str), Title (str), Label (str) BarPlot (gradio.Block)
Line Plot statement Data (any), X Column (str), Y Column (str), Color Column (str), Title (str), Label (str) LinePlot (gradio.Block)
Scatter Plot statement Data (any), X Column (str), Y Column (str), Color Column (str), Title (str), Label (str) ScatterPlot (gradio.Block)
Button statement Label (str), Variant (str), Size (str), Interactive (bool) Button (gradio.Block)
Upload Button statement Label (str), File Count (str), File Types (any), Variant (str) UploadButton (gradio.Block)
Download Button statement Label (str), File (any), Variant (str) DownloadButton (gradio.Block)
Clear Button statement Components (any), Label (str), Variant (str) ClearButton (gradio.Block)
Chatbot statement Messages (any), Label (str), Type (str), Height (int) Chatbot (gradio.Block)
Examples statement Examples (any), Input Components (any), Label (str) Examples (gradio.Block)
State expression Initial Value (any) State (gradio.Block)