Science Score: 54.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: arxiv.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (16.7%) to scientific vocabulary
Last synced: 6 months ago · JSON representation ·

Repository

Basic Info
  • Host: GitHub
  • Owner: rajpal-1
  • License: apache-2.0
  • Language: Python
  • Default Branch: main
  • Size: 649 MB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created over 1 year ago · Last pushed over 1 year ago
Metadata Files
Readme Changelog Contributing License Citation Security

README.md

[gradio](https://gradio.app)
[![gradio-backend](https://github.com/gradio-app/gradio/actions/workflows/test-python.yml/badge.svg)](https://github.com/gradio-app/gradio/actions/workflows/test-python.yml) [![gradio-ui](https://github.com/gradio-app/gradio/actions/workflows/tests-js.yml/badge.svg)](https://github.com/gradio-app/gradio/actions/workflows/tests-js.yml) [![PyPI](https://img.shields.io/pypi/v/gradio)](https://pypi.org/project/gradio/) [![PyPI downloads](https://img.shields.io/pypi/dm/gradio)](https://pypi.org/project/gradio/) ![Python version](https://img.shields.io/badge/python-3.8+-important) [![Twitter follow](https://img.shields.io/twitter/follow/gradio?style=social&label=follow)](https://twitter.com/gradio) [Website](https://gradio.app) | [Documentation](https://gradio.app/docs/) | [Guides](https://gradio.app/guides/) | [Getting Started](https://gradio.app/getting_started/) | [Examples](demo/) | [中文](readme_files/zh-cn#readme)

Gradio: Build Machine Learning Web Apps — in Python

Gradio is an open-source Python package that allows you to quickly build a demo or web application for your machine learning model, API, or any arbitrary Python function. You can then share a link to your demo or web application in just a few seconds using Gradio's built-in sharing features. No JavaScript, CSS, or web hosting experience needed!

It just takes a few lines of Python to create a beautiful demo like the one above, so let's get started 💫

Installation

Prerequisite: Gradio requires Python 3.8 or higher

We recommend installing Gradio using pip, which is included by default in Python. Run this in your terminal or command prompt:

pip install gradio

[!TIP] It is best to install Gradio in a virtual environment. Detailed installation instructions for all common operating systems are provided here.

Building Your First Demo

You can run Gradio in your favorite code editor, Jupyter notebook, Google Colab, or anywhere else you write Python. Let's write your first Gradio app:

```python import gradio as gr

def greet(name, intensity): return "Hello " * intensity + name + "!"

demo = gr.Interface( fn=greet, inputs=["text", "slider"], outputs=["text"], )

demo.launch() ```

[!TIP] We shorten the imported name from gradio to gr for better readability of code. This is a widely adopted convention that you should follow so that anyone working with your code can easily understand it.

Now, run your code. If you've written the Python code in a file named, for example, app.py, then you would run python app.py from the terminal.

The demo below will open in a browser on http://localhost:7860 if running from a file. If you are running within a notebook, the demo will appear embedded within the notebook.

`hello_world_4` demo

Type your name in the textbox on the left, drag the slider, and then press the Submit button. You should see a friendly greeting on the right.

[!TIP] When developing locally, you can run your Gradio app in hot reload mode, which automatically reloads the Gradio app whenever you make changes to the file. To do this, simply type in gradio before the name of the file instead of python. In the example above, you would type: gradio app.py in your terminal. Learn more about hot reloading in the Hot Reloading Guide.

Understanding the Interface Class

You'll notice that in order to make your first demo, you created an instance of the gr.Interface class. The Interface class is designed to create demos for machine learning models which accept one or more inputs, and return one or more outputs.

The Interface class has three core arguments:

  • fn: the function to wrap a user interface (UI) around
  • inputs: the Gradio component(s) to use for the input. The number of components should match the number of arguments in your function.
  • outputs: the Gradio component(s) to use for the output. The number of components should match the number of return values from your function.

The fn argument is very flexible -- you can pass any Python function that you want to wrap with a UI. In the example above, we saw a relatively simple function, but the function could be anything from a music generator to a tax calculator to the prediction function of a pretrained machine learning model.

The input and output arguments take one or more Gradio components. As we'll see, Gradio includes more than 30 built-in components (such as the gr.Textbox(), gr.Image(), and gr.HTML() components) that are designed for machine learning applications.

[!TIP] For the inputs and outputs arguments, you can pass in the name of these components as a string ("textbox") or an instance of the class (gr.Textbox()).

If your function accepts more than one argument, as is the case above, pass a list of input components to inputs, with each input component corresponding to one of the arguments of the function, in order. The same holds true if your function returns more than one value: simply pass in a list of components to outputs. This flexibility makes the Interface class a very powerful way to create demos.

We'll dive deeper into the gr.Interface on our series on building Interfaces.

Sharing Your Demo

What good is a beautiful demo if you can't share it? Gradio lets you easily share a machine learning demo without having to worry about the hassle of hosting on a web server. Simply set share=True in launch(), and a publicly accessible URL will be created for your demo. Let's revisit our example demo, but change the last line as follows:

```python import gradio as gr

def greet(name): return "Hello " + name + "!"

demo = gr.Interface(fn=greet, inputs="textbox", outputs="textbox")

demo.launch(share=True) # Share your demo with just 1 extra parameter 🚀 ```

When you run this code, a public URL will be generated for your demo in a matter of seconds, something like:

👉   https://a23dsf231adb.gradio.live

Now, anyone around the world can try your Gradio demo from their browser, while the machine learning model and all computation continues to run locally on your computer.

To learn more about sharing your demo, read our dedicated guide on sharing your Gradio application.

An Overview of Gradio

So far, we've been discussing the Interface class, which is a high-level class that lets to build demos quickly with Gradio. But what else does Gradio do?

Chatbots with gr.ChatInterface

Gradio includes another high-level class, gr.ChatInterface, which is specifically designed to create Chatbot UIs. Similar to Interface, you supply a function and Gradio creates a fully working Chatbot UI. If you're interested in creating a chatbot, you can jump straight our dedicated guide on gr.ChatInterface.

Custom Demos with gr.Blocks

Gradio also offers a low-level approach for designing web apps with more flexible layouts and data flows with the gr.Blocks class. Blocks allows you to do things like control where components appear on the page, handle complex data flows (e.g. outputs can serve as inputs to other functions), and update properties/visibility of components based on user interaction — still all in Python.

You can build very custom and complex applications using gr.Blocks(). For example, the popular image generation Automatic1111 Web UI is built using Gradio Blocks. We dive deeper into the gr.Blocks on our series on building with Blocks.

The Gradio Python & JavaScript Ecosystem

That's the gist of the core gradio Python library, but Gradio is actually so much more! It's an entire ecosystem of Python and JavaScript libraries that let you build machine learning applications, or query them programmatically, in Python or JavaScript. Here are other related parts of the Gradio ecosystem:

  • Gradio Python Client (gradio_client): query any Gradio app programmatically in Python.
  • Gradio JavaScript Client (@gradio/client): query any Gradio app programmatically in JavaScript.
  • Gradio-Lite (@gradio/lite): write Gradio apps in Python that run entirely in the browser (no server needed!), thanks to Pyodide.
  • Hugging Face Spaces: the most popular place to host Gradio applications — for free!

What's Next?

Keep learning about Gradio sequentially using the Gradio Guides, which include explanations as well as example code and embedded interactive demos. Next up: key features about Gradio demos.

Or, if you already know the basics and are looking for something specific, you can search the more technical API documentation.

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}, }

Owner

  • Name: Rajpal
  • Login: rajpal-1
  • Kind: user

Citation (CITATION.cff)

cff-version: 1.2.0
message: Please cite this project using these metadata.
title: "Gradio: Hassle-free sharing and testing of ML models in the wild"
abstract: >-
  Accessibility is a major challenge of machine learning (ML).
  Typical ML models are built by specialists and require
  specialized hardware/software as well as ML experience to
  validate. This makes it challenging for non-technical
  collaborators and endpoint users (e.g. physicians) to easily
  provide feedback on model development and to gain trust in
  ML. The accessibility challenge also makes collaboration
  more difficult and limits the ML researcher's exposure to
  realistic data and scenarios that occur in the wild. To
  improve accessibility and facilitate collaboration, we
  developed an open-source Python package, Gradio, which
  allows researchers to rapidly generate a visual interface
  for their ML models. Gradio makes accessing any ML model as
  easy as sharing a URL. Our development of Gradio is informed
  by interviews with a number of machine learning researchers
  who participate in interdisciplinary collaborations. Their
  feedback identified that Gradio should support a variety of
  interfaces and frameworks, allow for easy sharing of the
  interface, allow for input manipulation and interactive
  inference by the domain expert, as well as allow embedding
  the interface in iPython notebooks. We developed these
  features and carried out a case study to understand Gradio's
  usefulness and usability in the setting of a machine
  learning collaboration between a researcher and a
  cardiologist.
authors:
  - family-names: Abid
    given-names: Abubakar
  - family-names: Abdalla
    given-names: Ali
  - family-names: Abid
    given-names: Ali
  - family-names: Khan
    given-names: Dawood
  - family-names: Alfozan
    given-names: Abdulrahman
  - family-names: Zou
    given-names: James
doi: 10.48550/arXiv.1906.02569
date-released: 2019-06-06
url: https://arxiv.org/abs/1906.02569

GitHub Events

Total
Last Year

Dependencies

.github/actions/changes/action.yml actions
  • actions/checkout v4 composite
  • actions/upload-artifact v4 composite
  • gradio-app/github/actions/filter-paths main composite
  • gradio-app/github/actions/input-to-json main composite
  • gradio-app/github/actions/json-to-output main composite
.github/actions/install-all-deps/action.yml actions
  • FedericoCarboni/setup-ffmpeg 583042d32dd1cabb8bd09df03bde06080da5c87c composite
  • actions/cache v4 composite
  • actions/setup-python v5 composite
  • gradio-app/gradio/.github/actions/install-frontend-deps main composite
.github/actions/install-frontend-deps/action.yml actions
  • actions/cache v4 composite
  • actions/setup-node v4 composite
  • pnpm/action-setup fe02b34f77f8bc703788d5817da081398fad5dd2 composite
.github/workflows/comment-queue.yml actions
  • gradio-app/github/actions/comment-pr main composite
.github/workflows/delete-stale-spaces.yml actions
  • actions/checkout v4 composite
  • actions/setup-python v5 composite
.github/workflows/generate-changeset.yml actions
  • actions/checkout v4 composite
  • gradio-app/github/actions/find-pr main composite
  • gradio-app/github/actions/generate-changeset main composite
.github/workflows/npm-previews.yml actions
  • actions/checkout v4 composite
  • gradio-app/gradio/.github/actions/changes main composite
  • gradio-app/gradio/.github/actions/install-frontend-deps main composite
.github/workflows/previews-build.yml actions
  • actions/checkout v4 composite
  • actions/upload-artifact v4 composite
  • gradio-app/github/actions/copy-demos main composite
  • gradio-app/gradio/.github/actions/changes main composite
  • gradio-app/gradio/.github/actions/install-all-deps main composite
.github/workflows/previews-deploy.yml actions
  • actions/download-artifact v4 composite
  • gradio-app/github/actions/json-to-output main composite
.github/workflows/publish.yml actions
  • actions/checkout v4 composite
  • changesets/action aba318e9165b45b7948c60273e0b72fce0a64eb9 composite
  • gradio-app/github/actions/publish-pypi main composite
  • gradio-app/gradio/.github/actions/install-all-deps main composite
.github/workflows/storybook-build.yml actions
  • actions/checkout v4 composite
  • actions/upload-artifact v4 composite
  • gradio-app/gradio/.github/actions/changes main composite
  • gradio-app/gradio/.github/actions/install-all-deps main composite
.github/workflows/storybook-deploy.yml actions
  • actions/checkout v4 composite
  • actions/download-artifact v4 composite
  • chromaui/action fdbe7756d4dbf493e2fbb822df73be7accd07e1c composite
  • gradio-app/github/actions/json-to-output main composite
  • gradio-app/github/actions/set-commit-status main composite
.github/workflows/test-functional-lite.yml actions
  • actions/checkout v4 composite
  • gradio-app/gradio/.github/actions/changes main composite
  • gradio-app/gradio/.github/actions/install-all-deps main composite
.github/workflows/test-functional.yml actions
  • actions/checkout v4 composite
  • actions/upload-artifact v4 composite
  • gradio-app/gradio/.github/actions/changes main composite
  • gradio-app/gradio/.github/actions/install-all-deps main composite
.github/workflows/test-hygiene.yml actions
  • actions/checkout v4 composite
  • actionsdesk/lfs-warning 4b98a8a5e6c429c23c34eee02d71553bca216425 composite
.github/workflows/test-python.yml actions
  • actions/checkout v4 composite
  • gradio-app/gradio/.github/actions/changes main composite
  • gradio-app/gradio/.github/actions/install-all-deps main composite
.github/workflows/tests-js.yml actions
  • actions/checkout v4 composite
  • gradio-app/gradio/.github/actions/changes main composite
  • gradio-app/gradio/.github/actions/install-frontend-deps main composite
.github/workflows/trigger-changeset.yml actions
.github/workflows/update-checks.yml actions
  • actions/download-artifact v4 composite
  • gradio-app/github/actions/json-to-output main composite
  • gradio-app/github/actions/set-commit-status main composite
.github/workflows/website-build.yml actions
  • actions/checkout v4 composite
  • actions/download-artifact v4 composite
  • actions/upload-artifact v4 composite
  • gradio-app/github/actions/json-to-output main composite
  • gradio-app/gradio/.github/actions/install-all-deps main composite
.github/workflows/website-deploy.yml actions
  • actions/download-artifact v4 composite
  • gradio-app/github/actions/json-to-output main composite
.github/workflows/website-docs-build.yml actions
  • actions/checkout v4 composite
  • actions/upload-artifact v4 composite
  • gradio-app/gradio/.github/actions/changes main composite
  • gradio-app/gradio/.github/actions/install-all-deps main composite
.github/workflows/website-docs-deploy.yml actions
  • actions/download-artifact v4 composite
  • actions/upload-artifact v4 composite
  • gradio-app/github/actions/json-to-output main composite
client/js/package.json npm
  • @types/ws ^8.5.10 development
  • esbuild ^0.21.0 development
  • @types/eventsource ^1.1.15
  • bufferutil ^4.0.7
  • eventsource ^2.0.2
  • fetch-event-stream ^0.1.5
  • msw ^2.2.1
  • semiver ^1.1.0
  • textlinestream ^1.1.1
  • typescript ^5.0.0
  • ws ^8.13.0
client/python/gradio_client/package.json npm
gradio/package.json npm
js/_cdn-test/package.json npm
js/_spaces-test/package.json npm
  • @gradio/client workspace:^
  • @gradio/form workspace:^
  • @gradio/theme workspace:^
js/_website/package.json npm
  • @sveltejs/adapter-auto ^3.2.2 development
  • @sveltejs/adapter-static ^3.0.2 development
  • @sveltejs/kit ^2.5.20 development
  • @tailwindcss/forms ^0.5.0 development
  • @tailwindcss/typography ^0.5.4 development
  • @types/prismjs ^1.26.0 development
  • flexsearch ^0.7.43 development
  • prismjs 1.29.0 development
  • tailwindcss ^3.1.6 development
  • @gradio/code workspace:^
  • @gradio/paramviewer workspace:^
  • @sindresorhus/slugify ^2.2.0
  • @sveltejs/adapter-vercel ^5.3.0
  • hast-util-to-string ^3.0.0
  • mdsvex ^0.11.0
  • postcss ^8.4.27
  • prism-svelte ^0.5.0
js/accordion/package.json npm
  • @gradio/preview workspace:^ development
  • @gradio/atoms workspace:^
  • @gradio/column workspace:^
  • @gradio/statustracker workspace:^
  • @gradio/utils workspace:0.5.2
js/annotatedimage/package.json npm
  • @gradio/preview workspace:^ development
  • @gradio/atoms workspace:^
  • @gradio/client workspace:^
  • @gradio/icons workspace:^
  • @gradio/statustracker workspace:^
  • @gradio/upload workspace:^
  • @gradio/utils workspace:^
  • @gradio/wasm workspace:^
js/app/package.json npm
  • @sveltejs/adapter-auto ^3.0.0 development
  • @sveltejs/kit ^2.0.0 development
  • @sveltejs/vite-plugin-svelte ^3.0.0 development
  • prettier ^3.1.1 development
  • prettier-plugin-svelte ^3.1.2 development
  • svelte ^4.2.7 development
  • svelte-check ^3.6.0 development
  • typescript ^5.0.0 development
  • vite ^5.0.3 development
js/atoms/package.json npm
  • @gradio/icons workspace:^
  • @gradio/utils workspace:^
js/audio/package.json npm
  • @gradio/preview workspace:^ development
  • @gradio/atoms workspace:^
  • @gradio/button workspace:^
  • @gradio/client workspace:^
  • @gradio/icons workspace:^
  • @gradio/statustracker workspace:^
  • @gradio/upload workspace:^
  • @gradio/utils workspace:^
  • @gradio/wasm workspace:^
  • @types/wavesurfer.js ^6.0.10
  • extendable-media-recorder ^9.0.0
  • extendable-media-recorder-wav-encoder ^7.0.76
  • resize-observer-polyfill ^1.5.1
  • svelte-range-slider-pips ^2.0.1
  • wavesurfer.js ^7.4.2
js/box/package.json npm
  • @gradio/atoms workspace:^
js/build/package.json npm
  • @gradio/theme workspace:^
  • esbuild ^0.21.0
  • svelte-i18n ^3.6.0
js/button/package.json npm
  • @gradio/preview workspace:^ development
  • @gradio/client workspace:^
  • @gradio/upload workspace:^
  • @gradio/utils workspace:^
js/chatbot/package.json npm
  • @gradio/audio workspace:^ development
  • @gradio/image workspace:^ development
  • @gradio/preview workspace:^ development
  • @gradio/video workspace:^ development
  • @gradio/atoms workspace:^
  • @gradio/client workspace:^
  • @gradio/gallery workspace:^
  • @gradio/icons workspace:^
  • @gradio/markdown workspace:^
  • @gradio/plot workspace:^
  • @gradio/statustracker workspace:^
  • @gradio/theme workspace:^
  • @gradio/upload workspace:^
  • @gradio/utils workspace:^
  • @gradio/wasm workspace:^
  • @types/dompurify ^3.0.2
  • @types/katex ^0.16.0
  • @types/prismjs 1.26.4
  • dequal ^2.0.2
js/checkbox/package.json npm
  • @gradio/preview workspace:^ development
  • @gradio/atoms workspace:^
  • @gradio/statustracker workspace:^
  • @gradio/utils workspace:^
js/checkboxgroup/package.json npm
  • @gradio/preview workspace:^ development
  • @gradio/atoms workspace:^
  • @gradio/statustracker workspace:^
  • @gradio/utils workspace:^
js/code/package.json npm
  • @gradio/preview workspace:^ development
  • @codemirror/autocomplete ^6.3.0
  • @codemirror/commands ^6.1.2
  • @codemirror/lang-css ^6.1.0
  • @codemirror/lang-html ^6.4.2
  • @codemirror/lang-javascript ^6.1.4
  • @codemirror/lang-json ^6.0.1
  • @codemirror/lang-markdown ^6.1.0
  • @codemirror/lang-python ^6.0.4
  • @codemirror/language ^6.6.0
  • @codemirror/legacy-modes ^6.3.1
  • @codemirror/lint ^6.0.0
  • @codemirror/search ^6.2.2
  • @codemirror/state ^6.1.2
  • @codemirror/view ^6.4.1
  • @gradio/atoms workspace:^
  • @gradio/icons workspace:^
  • @gradio/statustracker workspace:^
  • @gradio/upload workspace:^
  • @gradio/utils workspace:^
  • @gradio/wasm workspace:^
  • @lezer/common ^1.0.2
  • @lezer/highlight ^1.1.3
  • @lezer/markdown ^1.0.2
  • cm6-theme-basic-dark ^0.2.0
  • cm6-theme-basic-light ^0.2.0
  • codemirror ^6.0.1
js/colorpicker/package.json npm
  • @gradio/preview workspace:^ development
  • @gradio/atoms workspace:^
  • @gradio/statustracker workspace:^
  • @gradio/utils workspace:^
js/column/package.json npm
  • @gradio/preview workspace:^ development
  • @gradio/statustracker workspace:^ development
  • @gradio/utils workspace:^ development
js/core/package.json npm
  • @gradio/accordion workspace:^ development
  • @gradio/annotatedimage workspace:^ development
  • @gradio/atoms workspace:^ development
  • @gradio/audio workspace:^ development
  • @gradio/box workspace:^ development
  • @gradio/button workspace:^ development
  • @gradio/chatbot workspace:^ development
  • @gradio/checkbox workspace:^ development
  • @gradio/checkboxgroup workspace:^ development
  • @gradio/client workspace:^ development
  • @gradio/code workspace:^ development
  • @gradio/colorpicker workspace:^ development
  • @gradio/column workspace:^ development
  • @gradio/dataframe workspace:^ development
  • @gradio/dataset workspace:^ development
  • @gradio/datetime workspace:^ development
  • @gradio/downloadbutton workspace:^ development
  • @gradio/dropdown workspace:^ development
  • @gradio/fallback workspace:^ development
  • @gradio/file workspace:^ development
  • @gradio/fileexplorer workspace:^ development
  • @gradio/form workspace:^ development
  • @gradio/gallery workspace:^ development
  • @gradio/group workspace:^ development
  • @gradio/highlightedtext workspace:^ development
  • @gradio/html workspace:^ development
  • @gradio/icons workspace:^ development
  • @gradio/image workspace:^ development
  • @gradio/imageeditor workspace:^ development
  • @gradio/json workspace:^ development
  • @gradio/label workspace:^ development
  • @gradio/markdown workspace:^ development
  • @gradio/model3d workspace:^ development
  • @gradio/multimodaltextbox workspace:^ development
  • @gradio/nativeplot workspace:^ development
  • @gradio/number workspace:^ development
  • @gradio/paramviewer workspace:^ development
  • @gradio/plot workspace:^ development
  • @gradio/radio workspace:^ development
  • @gradio/row workspace:^ development
  • @gradio/simpledropdown workspace:^ development
  • @gradio/simpleimage workspace:^ development
  • @gradio/simpletextbox workspace:^ development
  • @gradio/slider workspace:^ development
  • @gradio/state workspace:^ development
  • @gradio/statustracker workspace:^ development
  • @gradio/tabitem workspace:^ development
  • @gradio/tabs workspace:^ development
  • @gradio/textbox workspace:^ development
  • @gradio/theme workspace:^ development
  • @gradio/timer workspace:^ development
  • @gradio/upload workspace:^ development
  • @gradio/uploadbutton workspace:^ development
  • @gradio/utils workspace:^ development
  • @gradio/video workspace:^ development
  • @gradio/wasm workspace:^ development
js/dataframe/package.json npm
  • @gradio/preview workspace:^ development
  • @gradio/atoms workspace:^
  • @gradio/button workspace:^
  • @gradio/client workspace:^
  • @gradio/markdown workspace:^
  • @gradio/statustracker workspace:^
  • @gradio/upload workspace:^
  • @gradio/utils workspace:^
  • @types/d3-dsv ^3.0.0
  • @types/dompurify ^3.0.2
  • @types/katex ^0.16.0
  • d3-dsv ^3.0.1
  • dequal ^2.0.2
  • dompurify ^3.0.3
  • katex ^0.16.7
  • marked ^12.0.0
js/dataset/package.json npm
  • @gradio/preview workspace:^ development
  • @gradio/atoms workspace:^
  • @gradio/client workspace:^
  • @gradio/textbox workspace:^
  • @gradio/upload workspace:^
  • @gradio/utils workspace:^
js/datetime/package.json npm
  • @gradio/preview workspace:^ development
  • @gradio/atoms workspace:^
  • @gradio/icons workspace:^
  • @gradio/statustracker workspace:^
  • @gradio/utils workspace:^
js/downloadbutton/package.json npm
  • @gradio/preview workspace:^ development
  • @gradio/button workspace:^
  • @gradio/client workspace:^
  • @gradio/utils workspace:^
js/dropdown/package.json npm
  • @gradio/preview workspace:^ development
  • @gradio/atoms workspace:^
  • @gradio/icons workspace:^
  • @gradio/statustracker workspace:^
  • @gradio/utils workspace:^
js/fallback/package.json npm
  • @gradio/preview workspace:^ development
  • @gradio/atoms workspace:^
  • @gradio/statustracker workspace:^
  • @gradio/utils workspace:^
  • @zerodevx/svelte-json-view ^1.0.7
js/file/package.json npm
  • @gradio/preview workspace:^ development
  • @gradio/atoms workspace:^
  • @gradio/client workspace:^
  • @gradio/icons workspace:^
  • @gradio/statustracker workspace:^
  • @gradio/upload workspace:^
  • @gradio/utils workspace:^
  • @gradio/wasm workspace:^
js/fileexplorer/package.json npm
  • @gradio/preview workspace:^ development
  • @gradio/atoms workspace:^
  • @gradio/checkbox workspace:^
  • @gradio/client workspace:^
  • @gradio/file workspace:^
  • @gradio/icons workspace:^
  • @gradio/statustracker workspace:^
  • @gradio/upload workspace:^
  • @gradio/utils workspace:^
  • dequal ^2.0.2
js/form/package.json npm
  • @gradio/preview workspace:^ development
  • @gradio/atoms workspace:^
  • @gradio/icons workspace:^
  • @gradio/utils workspace:^
js/gallery/package.json npm
  • @gradio/preview workspace:^ development
  • @gradio/atoms workspace:^
  • @gradio/client workspace:^
  • @gradio/file workspace:^
  • @gradio/icons workspace:^
  • @gradio/image workspace:^
  • @gradio/statustracker workspace:^
  • @gradio/upload workspace:^
  • @gradio/utils workspace:^
  • dequal ^2.0.2
js/group/package.json npm
  • @gradio/preview workspace:^ development
js/highlightedtext/package.json npm
  • @gradio/preview workspace:^ development
  • @gradio/atoms workspace:^
  • @gradio/icons workspace:^
  • @gradio/statustracker workspace:^
  • @gradio/theme workspace:^
  • @gradio/utils workspace:^
js/html/package.json npm
  • @gradio/preview workspace:^ development
  • @gradio/atoms workspace:^
  • @gradio/icons workspace:^
  • @gradio/statustracker workspace:^
  • @gradio/utils workspace:^
js/icons/package.json npm
js/image/package.json npm
  • @gradio/preview workspace:^ development
  • @gradio/atoms workspace:^
  • @gradio/client workspace:^
  • @gradio/icons workspace:^
  • @gradio/statustracker workspace:^
  • @gradio/upload workspace:^
  • @gradio/utils workspace:^
  • @gradio/wasm workspace:^
  • cropperjs ^1.5.12
  • lazy-brush ^1.0.1
  • resize-observer-polyfill ^1.5.1
js/imageeditor/package.json npm
  • @gradio/preview workspace:^ development
  • @gradio/atoms workspace:^
  • @gradio/client workspace:^
  • @gradio/icons workspace:^
  • @gradio/image workspace:^
  • @gradio/statustracker workspace:^
  • @gradio/upload workspace:^
  • @gradio/utils workspace:^
  • @gradio/wasm workspace:^
  • @types/tinycolor2 ^1.4.6
  • pixi.js ^7.3.2
  • tinycolor2 ^1.6.0
js/json/package.json npm
  • @gradio/preview workspace:^ development
  • @gradio/atoms workspace:^
  • @gradio/icons workspace:^
  • @gradio/statustracker workspace:^
  • @gradio/utils workspace:^
js/label/package.json npm
  • @gradio/preview workspace:^ development
  • @gradio/atoms workspace:^
  • @gradio/icons workspace:^
  • @gradio/statustracker workspace:^
  • @gradio/utils workspace:^
js/lite/package.json npm
  • @gradio/atoms workspace:^ development
  • @gradio/build workspace:^ development
  • @gradio/core workspace:^ development
  • @gradio/spa workspace:^ development
  • @gradio/theme workspace:^ development
  • @gradio/wasm workspace:^ development
  • gradio workspace:^ development
js/markdown/package.json npm
  • @gradio/preview workspace:^ development
  • @gradio/atoms workspace:^
  • @gradio/icons workspace:^
  • @gradio/statustracker workspace:^
  • @gradio/utils workspace:^
  • @types/dompurify ^3.0.2
  • @types/katex ^0.16.0
  • @types/prismjs 1.26.4
  • dompurify ^3.0.3
  • github-slugger ^2.0.0
  • katex ^0.16.7
  • marked ^12.0.0
  • marked-gfm-heading-id ^3.1.2
  • marked-highlight ^2.0.1
  • prismjs 1.29.0
js/model3D/package.json npm
  • @gradio/preview workspace:^ development
  • @gradio/atoms workspace:^
  • @gradio/client workspace:^
  • @gradio/icons workspace:^
  • @gradio/statustracker workspace:^
  • @gradio/upload workspace:^
  • @gradio/utils workspace:^
  • @gradio/wasm workspace:^
  • @types/babylon ^6.16.6
  • babylonjs ^4.2.1
  • babylonjs-loaders ^4.2.1
  • dequal ^2.0.2
  • gsplat ^1.0.5
js/multimodaltextbox/package.json npm
  • @gradio/preview workspace:^ development
  • @gradio/atoms workspace:^
  • @gradio/client workspace:^
  • @gradio/icons workspace:^
  • @gradio/image workspace:^
  • @gradio/statustracker workspace:^
  • @gradio/upload workspace:^
  • @gradio/utils workspace:^
  • @gradio/video workspace:^
js/nativeplot/package.json npm
  • @gradio/preview workspace:^ development
  • @gradio/atoms workspace:^
  • @gradio/icons workspace:^
  • @gradio/statustracker workspace:^
  • @gradio/theme workspace:^
  • @gradio/utils workspace:^
  • vega ^5.23.0
  • vega-embed ^6.25.0
  • vega-lite ^5.12.0
js/number/package.json npm
  • @gradio/preview workspace:^ development
  • @gradio/atoms workspace:^
  • @gradio/statustracker workspace:^
  • @gradio/utils workspace:^
js/paramviewer/package.json npm
  • @gradio/preview workspace:^ development
  • @types/prismjs ^1.26.3 development
  • @gradio/atoms workspace:^
  • @gradio/statustracker workspace:^
  • @gradio/utils workspace:^
  • prismjs ^1.29.0
js/plot/package.json npm
  • @gradio/preview workspace:^ development
  • @gradio/atoms workspace:^
  • @gradio/icons workspace:^
  • @gradio/statustracker workspace:^
  • @gradio/theme workspace:^
  • @gradio/utils workspace:^
  • @rollup/plugin-json ^6.0.0
  • plotly.js-dist-min ^2.10.1
  • vega ^5.23.0
  • vega-embed ^6.25.0
  • vega-lite ^5.12.0
js/preview/package.json npm
  • @rollup/plugin-commonjs ^25.0.4 development
  • @rollup/plugin-json ^6.0.0 development
  • @rollup/plugin-node-resolve ^15.1.0 development
  • @rollup/plugin-typescript ^11.1.2 development
  • rollup ^3.28.0 development
  • @originjs/vite-plugin-commonjs ^1.0.3
  • @rollup/plugin-sucrase ^5.0.1
  • @sveltejs/vite-plugin-svelte ^3.1.0
  • @types/which ^3.0.0
  • coffeescript ^2.7.0
  • lightningcss ^1.21.7
  • pug ^3.0.2
  • sass ^1.66.1
  • stylus ^0.63.0
  • sucrase ^3.34.0
  • sugarss ^4.0.1
  • svelte-hmr ^0.16.0
  • svelte-preprocess ^5.0.4
  • typescript ^5.0.0
  • vite ^5.2.9
  • which 4.0.0
  • yootils ^0.3.1
js/preview/test/test/frontend/package.json npm
js/radio/package.json npm
  • @gradio/preview workspace:^ development
  • @gradio/atoms workspace:^
  • @gradio/statustracker workspace:^
  • @gradio/utils workspace:^
js/row/package.json npm
  • @gradio/preview workspace:^ development
  • @gradio/statustracker workspace:^ development
  • @gradio/utils workspace:^ development
js/simpledropdown/package.json npm
  • @gradio/preview workspace:^ development
  • @gradio/atoms workspace:^
  • @gradio/icons workspace:^
  • @gradio/statustracker workspace:^
  • @gradio/utils workspace:^
js/simpleimage/package.json npm
  • @gradio/preview workspace:^ development
  • @gradio/atoms workspace:^
  • @gradio/client workspace:^
  • @gradio/icons workspace:^
  • @gradio/statustracker workspace:^
  • @gradio/upload workspace:^
  • @gradio/utils workspace:^
  • @gradio/wasm workspace:^
  • cropperjs ^1.5.12
  • lazy-brush ^1.0.1
  • resize-observer-polyfill ^1.5.1
js/simpletextbox/package.json npm
  • @gradio/preview workspace:^ development
  • @gradio/atoms workspace:^
  • @gradio/icons workspace:^
  • @gradio/statustracker workspace:^
  • @gradio/utils workspace:^
js/slider/package.json npm
  • @gradio/preview workspace:^ development
  • @gradio/atoms workspace:^
  • @gradio/statustracker workspace:^
  • @gradio/utils workspace:^
js/spa/package.json npm
  • @gradio/build workspace:^ development
  • @gradio/client workspace:^ development
  • @gradio/core workspace:^ development
  • @gradio/theme workspace:^ development
  • @gradio/wasm workspace:^ development
  • @huggingface/space-header ^1.0.3 development
  • @types/eventsource ^1.1.15 development
  • cross-env ^7.0.3 development
js/state/package.json npm
js/statustracker/package.json npm
  • @gradio/preview workspace:^ development
  • @gradio/atoms workspace:^
  • @gradio/icons workspace:^
  • @gradio/utils workspace:^
  • @types/dompurify ^3.0.2
  • dompurify ^3.0.3
js/storybook/package.json npm
js/tabitem/package.json npm
  • @gradio/preview workspace:^ development
  • @gradio/column workspace:^
  • @gradio/tabs workspace:^
  • @gradio/utils workspace:^
js/tabs/package.json npm
  • @gradio/preview workspace:^ development
  • @gradio/utils workspace:^
js/textbox/package.json npm
  • @gradio/preview workspace:^ development
  • @gradio/atoms workspace:^
  • @gradio/icons workspace:^
  • @gradio/statustracker workspace:^
  • @gradio/utils workspace:^
js/theme/package.json npm
js/timer/package.json npm
  • @gradio/preview workspace:^ development
  • @gradio/utils workspace:^
js/tooltip/package.json npm
js/tootils/package.json npm
  • @gradio/statustracker workspace:^
  • @gradio/utils workspace:^
js/upload/package.json npm
  • @gradio/atoms workspace:^
  • @gradio/client workspace:^
  • @gradio/icons workspace:^
  • @gradio/utils workspace:^
  • @gradio/wasm workspace:^
js/uploadbutton/package.json npm
  • @gradio/preview workspace:^ development
  • @gradio/button workspace:^
  • @gradio/client workspace:^
  • @gradio/upload workspace:^
  • @gradio/utils workspace:^
js/utils/package.json npm
  • @gradio/theme workspace:^
  • svelte-i18n ^3.6.0
js/video/package.json npm
  • @gradio/preview workspace:^ development
  • @ffmpeg/ffmpeg ^0.12.7
  • @ffmpeg/util ^0.12.1
  • @gradio/atoms workspace:^
  • @gradio/client workspace:^
  • @gradio/icons workspace:^
  • @gradio/image workspace:^
  • @gradio/statustracker workspace:^
  • @gradio/upload workspace:^
  • @gradio/utils workspace:^
  • @gradio/wasm workspace:^
  • mrmime ^2.0.0
js/wasm/package.json npm
  • pyodide 0.26.1 development
  • @types/path-browserify ^1.0.0
  • path-browserify ^1.0.1
package.json npm
  • @chromatic-com/storybook ^1 development
  • @gradio/accordion workspace:^ development
  • @gradio/annotatedimage workspace:^ development
  • @gradio/audio workspace:^ development
  • @gradio/box workspace:^ development
  • @gradio/button workspace:^ development
  • @gradio/chatbot workspace:^ development
  • @gradio/checkbox workspace:^ development
  • @gradio/checkboxgroup workspace:^ development
  • @gradio/code workspace:^ development
  • @gradio/colorpicker workspace:^ development
  • @gradio/column workspace:^ development
  • @gradio/core workspace:^ development
  • @gradio/dataframe workspace:^ development
  • @gradio/dataset workspace:^ development
  • @gradio/datetime workspace:^ development
  • @gradio/downloadbutton workspace:^ development
  • @gradio/dropdown workspace:^ development
  • @gradio/fallback workspace:^ development
  • @gradio/file workspace:^ development
  • @gradio/fileexplorer workspace:^ development
  • @gradio/form workspace:^ development
  • @gradio/gallery workspace:^ development
  • @gradio/group workspace:^ development
  • @gradio/highlightedtext workspace:^ development
  • @gradio/html workspace:^ development
  • @gradio/image workspace:^ development
  • @gradio/imageeditor workspace:^ development
  • @gradio/json workspace:^ development
  • @gradio/label workspace:^ development
  • @gradio/markdown workspace:^ development
  • @gradio/model3d workspace:^ development
  • @gradio/multimodaltextbox workspace:^ development
  • @gradio/nativeplot workspace:^ development
  • @gradio/number workspace:^ development
  • @gradio/paramviewer workspace:^ development
  • @gradio/plot workspace:^ development
  • @gradio/radio workspace:^ development
  • @gradio/row workspace:^ development
  • @gradio/slider workspace:^ development
  • @gradio/state workspace:^ development
  • @gradio/statustracker workspace:^ development
  • @gradio/tabitem workspace:^ development
  • @gradio/tabs workspace:^ development
  • @gradio/textbox workspace:^ development
  • @gradio/timer workspace:^ development
  • @gradio/upload workspace:^ development
  • @gradio/uploadbutton workspace:^ development
  • @gradio/video workspace:^ development
  • @storybook/addon-a11y ^8.1.8 development
  • @storybook/addon-essentials ^8.1.8 development
  • @storybook/addon-interactions ^8.1.8 development
  • @storybook/addon-links ^8.1.8 development
  • @storybook/addon-svelte-csf ^4.1.3 development
  • @storybook/blocks ^8.1.8 development
  • @storybook/manager-api ^8.1.8 development
  • @storybook/svelte ^8.1.8 development
  • @storybook/svelte-vite ^8.1.8 development
  • @storybook/test ^8.1.8 development
  • @storybook/theming ^8.1.8 development
  • @testing-library/user-event ^14.5.2 development
  • chromatic ^11.3.0 development
  • eslint-plugin-jsdoc ^48.2.3 development
  • storybook ^8.1.8 development
  • wikidata-lang ^4.1.2 development
  • @changesets/changelog-github ^0.5.0
  • @changesets/cli ^2.27.1
  • @changesets/get-github-info ^0.6.0
  • @csstools/postcss-global-data ^2.1.1
  • @gradio/client workspace:^
  • @gradio/tootils workspace:^
  • @manypkg/get-packages ^2.2.1
  • @playwright/experimental-ct-svelte ^1.44.1
  • @playwright/test ^1.44.1
  • @sveltejs/vite-plugin-svelte ^3.1.0
  • @tailwindcss/forms ^0.5.7
  • @testing-library/dom ^10.1.0
  • @testing-library/jest-dom ^6.4.2
  • @types/node ^20.12.8
  • @types/testing-library__jest-dom ^5.14.9
  • @types/wavesurfer.js ^6.0.12
  • @typescript-eslint/eslint-plugin ^7.8.0
  • @typescript-eslint/parser ^7.8.0
  • autoprefixer ^10.4.19
  • babylonjs ^5.57.1
  • babylonjs-loaders ^5.57.1
  • eslint ^9.1.1
  • eslint-plugin-svelte ^2.38.0
  • globals ^15.1.0
  • happy-dom ^14.7.1
  • jsdom ^24.0.0
  • kleur ^4.1.5
  • msw ^2.2.14
  • node-html-parser ^6.1.13
  • npm-run-all2 ^6.1.2
  • playwright ^1.44.1
  • plotly.js-dist-min ^2.32.0
  • polka 1.0.0-next.25
  • pollen-css ^4.6.2
  • postcss ^8.4.38
  • postcss-custom-media ^10.0.4
  • postcss-nested ^5.0.6
  • postcss-prefix-selector ^1.16.1
  • prettier ^3.2.5
  • prettier-plugin-css-order ^2.1.2
  • prettier-plugin-svelte ^3.2.3
  • sirv ^2.0.4
  • sirv-cli ^2.0.2
  • svelte ^4.2.15
  • svelte-check ^3.7.0
  • svelte-eslint-parser ^0.36.0
  • svelte-i18n ^4.0.0
  • svelte-preprocess ^5.1.4
  • tailwindcss ^3.4.3
  • tinyspy ^3.0.0
  • typescript ^5.5.4
  • typescript-svelte-plugin ^0.3.40
  • vite ^5.2.11
  • vite-plugin-turbosnap 1.0.3
  • vitest ^1.5.3
pnpm-lock.yaml npm
  • 570 dependencies
.config/lite-builder/pyproject.toml pypi
client/python/pyproject.toml pypi
client/python/requirements.txt pypi
  • fsspec *
  • httpx >=0.24.1
  • huggingface_hub >=0.19.3
  • packaging *
  • typing_extensions *
  • websockets >=10.0,<13.0
client/python/test/requirements.txt pypi
  • gradio * test
  • pydub ==0.25.1 test
  • pyright ==1.1.372 test
  • pytest ==7.1.2 test
  • pytest-asyncio * test
  • ruff ==0.4.1 test