MCPcopy
hub / github.com/gradio-app/gradio

github.com/gradio-app/gradio @gradio@6.19.0 sqlite

repository ↗ · DeepWiki ↗ · release gradio@6.19.0 ↗
6,150 symbols 21,831 edges 1,290 files 1,203 documented · 20%
README

gradio

Gradio 5.0 - the easiest way to build AI web apps | Product Hunt gradio-app%2Fgradio | Trendshift

gradio-backend gradio-ui PyPI PyPI downloads Python version Twitter follow

Website | Documentation | Guides | Getting Started | Examples

English | 中文

Gradio: Build Machine Learning Web Apps — in Python

$getting_started

AI Coding Skills

Gradio provides a "skill" that enriches AI coding assistants (like Cursor, Claude Code, Codex, etc.) with Gradio-specific knowledge, so that they can build Gradio apps more effectively. This is especially useful when creating custom Gradio components or styling. Install the Gradio skill for your coding assistant with a single command:

gradio skills add --cursor   # or --claude, --codex, --opencode

Use --global to install at the user level (applies to all projects). Your skill will be automatically available for the particular coding agent.

You can also install a skill for a specific Gradio Space, which generates API usage docs (Python, JS, cURL) on the fly:

gradio skills add abidlabs/en2fr --cursor

Questions?

If you'd like to report a bug or have a feature request, please create an issue on GitHub. For general questions about usage, we are available on our Discord server and happy to help.

If you like Gradio, please leave us a ⭐ on GitHub!

Open Source Stack

Gradio is built on top of many wonderful open-source libraries!

huggingface python fastapi encode svelte vite pnpm tailwind storybook chromatic

License

Gradio is licensed under the Apache License 2.0 found in the LICENSE file in the root directory of this repository.

Citation

Also check out the paper Gradio: Hassle-Free Sharing and Testing of ML Models in the Wild, ICML HILL 2019, and please cite it if you use Gradio in your work.

@article{abid2019gradio,
  title = {Gradio: Hassle-Free Sharing and Testing of ML Models in the Wild},
  author = {Abid, Abubakar and Abdalla, Ali and Abid, Ali and Khan, Dawood and Alfozan, Abdulrahman and Zou, James},
  journal = {arXiv preprint arXiv:1906.02569},
  year = {2019},
}

Extension points exported contracts — how you extend this code

Command (Interface)
(no doc) [12 implementers]
js/imageeditor/shared/core/commands.ts
Window (Interface)
(no doc)
globals.d.ts
Window (Interface)
(no doc)
client/js/src/globals.d.ts
HTMLAttributes (Interface)
(no doc)
js/jsx.d.ts
MarkdownProps (Interface)
(no doc)
js/markdown/types.ts
ActionArgs (Interface)
(no doc)
js/tooltip/src/tooltip.ts
PlotData (Interface)
(no doc)
js/nativeplot/types.ts
ParamViewerProps (Interface)
(no doc)
js/paramviewer/types.ts

Core symbols most depended-on inside this repo

test
called by 1996
demo/dropdown_key_up/run.py
render
called by 1286
js/tootils/src/render.ts
get
called by 1098
gradio/caching.py
append
called by 668
gradio/route_utils.py
launch
called by 576
gradio/blocks.py
cleanup
called by 358
js/tootils/src/render.ts
listen
called by 327
js/tootils/src/render.ts
get_data
called by 179
demo/dataframe_tab_select/run.py

Shape

Method 2,584
Function 2,419
Class 678
Interface 301
Route 168

Languages

Python77%
TypeScript23%

Modules by API surface

test/test_blocks.py164 symbols
test/test_routes.py152 symbols
test/test_utils.py146 symbols
gradio/utils.py142 symbols
gradio/routes.py133 symbols
gradio/route_utils.py91 symbols
gradio/blocks.py91 symbols
client/python/test/test_client.py85 symbols
test/test_helpers.py71 symbols
client/python/gradio_client/utils.py67 symbols
client/python/gradio_client/client.py64 symbols
test/test_processing_utils.py59 symbols

Dependencies from manifests, versioned

@babylonjs/core8.30.5 · 1×
@babylonjs/loaders8.30.5 · 1×
@babylonjs/viewer8.30.5 · 1×
@changesets/changelog-github0.5.1 · 1×
@changesets/cli2.29.7 · 1×
@changesets/get-github-info0.6.0 · 1×
@codemirror/autocomplete6.19.0 · 1×
@codemirror/commands6.9.0 · 1×
@codemirror/lang-css6.3.1 · 1×
@codemirror/lang-html6.4.11 · 1×
@codemirror/lang-javascript6.2.4 · 1×

Datastores touched

(mysql)Database · 1 repos
database_nameDatabase · 1 repos
database_nameDatabase · 1 repos

For agents

$ claude mcp add gradio \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact