Science Score: 46.0%

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

  • 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
  • Committers with academic emails
    8 of 277 committers (2.9%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (16.4%) to scientific vocabulary

Keywords from Contributors

agents application multi-agents closember vector-database rag llamaindex fine-tuning meshing cryptocurrencies
Last synced: 6 months ago · JSON representation

Repository

Basic Info
  • Host: GitHub
  • Owner: heaversm
  • License: apache-2.0
  • Language: Python
  • Default Branch: main
  • Size: 135 MB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created almost 2 years ago · Last pushed almost 2 years 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/backend.yml/badge.svg)](https://github.com/gradio-app/gradio/actions/workflows/backend.yml) [![gradio-ui](https://github.com/gradio-app/gradio/actions/workflows/ui.yml/badge.svg)](https://github.com/gradio-app/gradio/actions/workflows/ui.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! Its 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: Mike Heavers
  • Login: heaversm
  • Kind: user
  • Location: Portland, OR
  • Company: @mozilla

Staff Design technologist and Prototyper for the Future Products Team at Mozilla in Portland

GitHub Events

Total
Last Year

Committers

Last synced: 9 months ago

All Time
  • Total Commits: 5,663
  • Total Committers: 277
  • Avg Commits per committer: 20.444
  • Development Distribution Score (DDS): 0.825
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Abubakar Abid a****d@s****u 990
Abubakar Abid a****r@h****o 821
Ali Abid a****4@g****m 548
Ali Abdalla a****a@g****m 456
pngwn h****o@p****o 440
dawoodkhan82 d****2@g****m 384
Freddy Boulton a****n@g****m 376
aliabid94 a****4@g****m 250
Ömer Faruk Özdemir f****m@g****m 190
Yuichiro Tachibana (Tsuchiya) t****t@g****m 107
Hannah h****r 107
Ali Abid y****u@e****t 88
renovate[bot] 2****] 84
Your Name y****u@e****m 80
Ali Abid a****d@g****p 76
Ali Abdalla a****a@m****u 42
github-actions[bot] 4****] 37
Aarni Koskela a****x@i****i 36
root r****t@i****l 28
dependabot[bot] 4****] 18
AK391 8****1 17
Abubakar Abid a****3@g****m 15
Abubakar Abid i****m@g****m 14
space-nuko 2****o 14
Julien Chaumond j****n@h****o 12
Charles Bensimon c****s@h****o 11
Ubuntu u****u@i****l 10
Victor Muštar v****r@g****m 10
Ali a****d@h****o 9
Ikko Eltociear Ashimine e****r@g****m 9
and 247 more...

Issues and Pull Requests

Last synced: 9 months ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Dependencies

client/js/package.json npm
  • @types/ws ^8.5.4 development
  • esbuild ^0.20.0 development
  • bufferutil ^4.0.7
  • semiver ^1.1.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
  • @sveltejs/adapter-auto ^2.0.0 development
  • @sveltejs/kit ^1.5.0 development
  • prettier ^3.0.0 development
  • prettier-plugin-svelte ^3.0.0 development
  • svelte-check ^3.0.1 development
  • typescript ^5.0.0 development
  • @gradio/client workspace:^
  • @gradio/form workspace:^
  • @gradio/theme workspace:^
js/_website/package.json npm
  • @sveltejs/adapter-auto ^2.0.0 development
  • @sveltejs/adapter-static ^2.0.2 development
  • @sveltejs/kit ^1.27.6 development
  • @tailwindcss/forms ^0.5.0 development
  • @tailwindcss/typography ^0.5.4 development
  • @types/prismjs ^1.26.0 development
  • prismjs 1.29.0 development
  • tailwindcss ^3.1.6 development
  • @gradio/code 0.5.11
  • @sindresorhus/slugify ^2.2.0
  • @sveltejs/adapter-vercel ^3.0.3
  • hast-util-to-string ^3.0.0
  • mdsvex ^0.11.0
  • postcss >=8.3.3 <9.0.0
js/accordion/package.json npm
  • @gradio/atoms workspace:^
  • @gradio/column workspace:^
  • @gradio/statustracker workspace:^
  • @gradio/utils workspace:0.3.1
js/annotatedimage/package.json npm
  • @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
  • @gradio/accordion workspace:^
  • @gradio/annotatedimage workspace:^
  • @gradio/atoms workspace:^
  • @gradio/audio workspace:^
  • @gradio/box workspace:^
  • @gradio/button workspace:^
  • @gradio/chatbot workspace:^
  • @gradio/checkbox workspace:^
  • @gradio/checkboxgroup workspace:^
  • @gradio/client workspace:^
  • @gradio/code workspace:^
  • @gradio/colorpicker workspace:^
  • @gradio/column workspace:^
  • @gradio/dataframe workspace:^
  • @gradio/dataset workspace:^
  • @gradio/downloadbutton workspace:^
  • @gradio/dropdown workspace:^
  • @gradio/fallback workspace:^
  • @gradio/file workspace:^
  • @gradio/fileexplorer workspace:^
  • @gradio/form workspace:^
  • @gradio/gallery workspace:^
  • @gradio/group workspace:^
  • @gradio/highlightedtext workspace:^
  • @gradio/html workspace:^
  • @gradio/icons workspace:^
  • @gradio/image workspace:^
  • @gradio/imageeditor workspace:^
  • @gradio/json workspace:^
  • @gradio/label workspace:^
  • @gradio/markdown workspace:^
  • @gradio/model3d workspace:^
  • @gradio/multimodaltextbox workspace:^
  • @gradio/number workspace:^
  • @gradio/paramviewer workspace:^
  • @gradio/plot workspace:^
  • @gradio/radio workspace:^
  • @gradio/row workspace:^
  • @gradio/simpledropdown workspace:^
  • @gradio/simpleimage workspace:^
  • @gradio/simpletextbox workspace:^
  • @gradio/slider workspace:^
  • @gradio/state workspace:^
  • @gradio/statustracker workspace:^
  • @gradio/tabitem workspace:^
  • @gradio/tabs workspace:^
  • @gradio/textbox workspace:^
  • @gradio/theme workspace:^
  • @gradio/upload workspace:^
  • @gradio/uploadbutton workspace:^
  • @gradio/utils workspace:^
  • @gradio/video workspace:^
  • @gradio/wasm workspace:^
  • cross-env ^7.0.3
  • d3-dsv ^3.0.1
  • mime-types ^2.1.34
  • postcss ^8.4.21
  • postcss-prefix-selector ^1.16.0
js/atoms/package.json npm
  • @gradio/icons workspace:^
  • @gradio/utils workspace:^
js/audio/package.json npm
  • @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/button/package.json npm
  • @gradio/client workspace:^
  • @gradio/upload workspace:^
  • @gradio/utils workspace:^
js/chatbot/package.json npm
  • @gradio/atoms workspace:^
  • @gradio/audio workspace:^
  • @gradio/client workspace:^
  • @gradio/icons workspace:^
  • @gradio/image workspace:^
  • @gradio/markdown workspace:^
  • @gradio/statustracker workspace:^
  • @gradio/theme workspace:^
  • @gradio/upload workspace:^
  • @gradio/utils workspace:^
  • @gradio/video workspace:^
  • @types/dompurify ^3.0.2
  • @types/katex ^0.16.0
  • @types/prismjs 1.26.3
  • dequal ^2.0.2
js/checkbox/package.json npm
  • @gradio/atoms workspace:^
  • @gradio/statustracker workspace:^
  • @gradio/utils workspace:^
js/checkboxgroup/package.json npm
  • @gradio/atoms workspace:^
  • @gradio/statustracker workspace:^
  • @gradio/utils workspace:^
js/code/package.json npm
  • @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/atoms workspace:^
  • @gradio/statustracker workspace:^
  • @gradio/utils workspace:^
js/column/package.json npm
js/dataframe/package.json npm
  • @gradio/atoms workspace:^
  • @gradio/button 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/atoms workspace:^
  • @gradio/client workspace:^
  • @gradio/upload workspace:^
  • @gradio/utils workspace:^
js/downloadbutton/package.json npm
  • @gradio/button workspace:^
  • @gradio/client workspace:^
  • @gradio/utils workspace:^
js/dropdown/package.json npm
  • @gradio/atoms workspace:^
  • @gradio/icons workspace:^
  • @gradio/statustracker workspace:^
  • @gradio/utils workspace:^
js/fallback/package.json npm
  • @gradio/atoms workspace:^
  • @gradio/statustracker workspace:^
  • @gradio/utils workspace:^
  • @zerodevx/svelte-json-view ^1.0.7
js/file/package.json npm
  • @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/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/atoms workspace:^
  • @gradio/icons workspace:^
  • @gradio/utils workspace:^
js/gallery/package.json npm
  • @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
js/highlightedtext/package.json npm
  • @gradio/atoms workspace:^
  • @gradio/icons workspace:^
  • @gradio/statustracker workspace:^
  • @gradio/theme workspace:^
  • @gradio/utils workspace:^
js/html/package.json npm
  • @gradio/atoms workspace:^
  • @gradio/statustracker workspace:^
  • @gradio/utils workspace:^
js/icons/package.json npm
js/image/package.json npm
  • @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/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/atoms workspace:^
  • @gradio/icons workspace:^
  • @gradio/statustracker workspace:^
  • @gradio/utils workspace:^
js/label/package.json npm
  • @gradio/atoms workspace:^
  • @gradio/icons workspace:^
  • @gradio/statustracker workspace:^
  • @gradio/utils workspace:^
js/lite/package.json npm
  • @gradio/app workspace:^ development
  • @gradio/wasm workspace:^ development
  • gradio workspace:^ development
  • gradio workspace:^
js/markdown/package.json npm
  • @gradio/atoms workspace:^
  • @gradio/statustracker workspace:^
  • @gradio/utils workspace:^
  • @types/dompurify ^3.0.2
  • @types/katex ^0.16.0
  • @types/prismjs 1.26.3
  • 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/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/atoms workspace:^
  • @gradio/client workspace:^
  • @gradio/icons workspace:^
  • @gradio/image workspace:^
  • @gradio/statustracker workspace:^
  • @gradio/upload workspace:^
  • @gradio/utils workspace:^
js/number/package.json npm
  • @gradio/atoms workspace:^
  • @gradio/statustracker workspace:^
  • @gradio/utils workspace:^
js/paramviewer/package.json npm
  • @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/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
  • svelte-vega ^2.0.0
  • vega ^5.22.1
  • 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
  • svelte-hmr ^0.16.0 development
  • @originjs/vite-plugin-commonjs ^1.0.3
  • @rollup/plugin-sucrase ^5.0.1
  • @sveltejs/vite-plugin-svelte ^2.5.2
  • @types/which ^3.0.0
  • coffeescript ^2.7.0
  • css-tree 2.3.1
  • esbuild-wasm ^0.20.0
  • lightningcss ^1.21.7
  • pug ^3.0.2
  • rollup-plugin-ignore ^1.0.10
  • sass ^1.66.1
  • stylus ^0.63.0
  • sucrase ^3.34.0
  • sugarss ^4.0.1
  • which 4.0.0
  • yootils ^0.3.1
js/preview/test/test/frontend/package.json npm
  • @gradio/atoms 0.6.2
  • @gradio/statustracker 0.4.11
  • @gradio/utils 0.3.1
  • @zerodevx/svelte-json-view ^1.0.7
js/radio/package.json npm
  • @gradio/atoms workspace:^
  • @gradio/statustracker workspace:^
  • @gradio/utils workspace:^
js/row/package.json npm
js/simpledropdown/package.json npm
  • @gradio/atoms workspace:^
  • @gradio/icons workspace:^
  • @gradio/statustracker workspace:^
  • @gradio/utils workspace:^
js/simpleimage/package.json npm
  • @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/atoms workspace:^
  • @gradio/icons workspace:^
  • @gradio/statustracker workspace:^
  • @gradio/utils workspace:^
js/slider/package.json npm
  • @gradio/atoms workspace:^
  • @gradio/statustracker workspace:^
  • @gradio/utils workspace:^
js/state/package.json npm
js/statustracker/package.json npm
  • @gradio/atoms workspace:^
  • @gradio/column workspace:^
  • @gradio/icons workspace:^
  • @gradio/utils workspace:^
js/storybook/package.json npm
js/tabitem/package.json npm
  • @gradio/column workspace:^
  • @gradio/tabs workspace:^
  • @gradio/utils workspace:^
js/tabs/package.json npm
  • @gradio/utils workspace:^
js/textbox/package.json npm
  • @gradio/atoms workspace:^
  • @gradio/icons workspace:^
  • @gradio/statustracker workspace:^
  • @gradio/utils workspace:^
js/theme/package.json npm
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/upload workspace:^
  • @gradio/utils workspace:^
  • @gradio/wasm workspace:^
js/uploadbutton/package.json npm
  • @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
  • @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.25.0 development
  • @types/path-browserify ^1.0.0
  • path-browserify ^1.0.1
package.json npm
  • @storybook/addon-a11y ^8.0.2 development
  • @storybook/addon-essentials ^8.0.2 development
  • @storybook/addon-interactions ^8.0.2 development
  • @storybook/addon-links ^8.0.2 development
  • @storybook/addon-svelte-csf ^4.1.2 development
  • @storybook/blocks ^8.0.2 development
  • @storybook/manager-api ^8.0.2 development
  • @storybook/svelte ^8.0.2 development
  • @storybook/svelte-vite ^8.0.2 development
  • @storybook/test ^8.0.2 development
  • @storybook/theming ^8.0.2 development
  • @testing-library/user-event ^14.5.2 development
  • chromatic ^11.0.0 development
  • storybook ^8.0.2 development
  • wikidata-lang ^4.1.2 development
  • @changesets/changelog-github ^0.5.0
  • @changesets/cli ^2.26.1
  • @changesets/get-github-info ^0.6.0
  • @csstools/postcss-global-data ^2.0.0
  • @gradio/tootils workspace:^
  • @manypkg/get-packages ^2.2.0
  • @playwright/experimental-ct-svelte ^1.39.0
  • @playwright/test ^1.39.0
  • @sveltejs/vite-plugin-svelte ^2.5.2
  • @tailwindcss/forms ^0.5.0
  • @testing-library/dom ^10.0.0
  • @testing-library/jest-dom ^6.0.0
  • @types/node ^20.3.1
  • @types/testing-library__jest-dom ^5.14.6
  • @types/wavesurfer.js ^6.0.10
  • @typescript-eslint/eslint-plugin ^7.0.0
  • @typescript-eslint/parser ^7.0.0
  • autoprefixer ^10.4.4
  • babylonjs ^5.17.1
  • babylonjs-loaders ^5.17.1
  • eslint ^8.46.0
  • eslint-plugin-svelte ^2.32.4
  • globals ^15.0.0
  • happy-dom ^14.0.0
  • jsdom ^24.0.0
  • kleur ^4.1.5
  • msw ^2.2.1
  • node-html-parser ^6.0.0
  • npm-run-all2 ^6.0.0
  • playwright ^1.39.0
  • plotly.js-dist-min ^2.10.1
  • polka ^1.0.0-next.22
  • pollen-css ^4.6.1
  • postcss ^8.4.27
  • postcss-custom-media 10
  • postcss-nested ^5.0.6
  • postcss-prefix-selector ^1.16.0
  • prettier ^3.0.0
  • prettier-plugin-css-order ^2.0.0
  • prettier-plugin-svelte ^3.0.0
  • sirv ^2.0.2
  • sirv-cli ^2.0.2
  • svelte ^4.2.2
  • svelte-check ^3.6.4
  • svelte-i18n ^4.0.0
  • svelte-preprocess ^5.0.4
  • tailwindcss ^3.1.6
  • tinyspy ^2.0.0
  • typescript ^5.0.0
  • typescript-svelte-plugin ^0.3.34
  • vite ^4.3.9
  • vite-plugin-turbosnap 1.0.3
  • vitest ^1.3.1
pnpm-lock.yaml npm
  • 1729 dependencies
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,<12.0
client/python/test/requirements.txt pypi
  • gradio * test
  • pydub ==0.25.1 test
  • pyright ==1.1.327 test
  • pytest ==7.1.2 test
  • pytest-asyncio * test
  • ruff ==0.2.2 test
demo/Echocardiogram-Segmentation/requirements.txt pypi
  • matplotlib *
  • numpy *
  • torch *
  • torchvision *
  • wget *
demo/altair_plot/requirements.txt pypi
  • altair *
  • vega_datasets *
demo/animeganv2/requirements.txt pypi
  • Pillow *
  • cmake *
  • gdown *
  • numpy *
  • onnxruntime-gpu *
  • opencv-python-headless *
  • scipy *
  • torch *
  • torchvision *
demo/asr/requirements.txt pypi
  • torch *
  • torchaudio *
  • transformers *
demo/bar_plot/requirements.txt pypi
  • pandas *
demo/blocks_flag/requirements.txt pypi
  • numpy *
demo/blocks_multiple_event_triggers/requirements.txt pypi
  • plotly *
  • pypistats *
demo/blocks_speech_text_sentiment/requirements.txt pypi
  • torch *
  • transformers *
demo/bokeh_plot/requirements.txt pypi
  • bokeh >=3.0
  • xyzservices *
demo/chatbot_dialogpt/requirements.txt pypi
  • torch *
  • transformers *
demo/chicago-bikeshare-dashboard/requirements.txt pypi
  • SQLAlchemy *
  • matplotlib *
  • psycopg2 *
demo/clustering/requirements.txt pypi
  • matplotlib >=3.5.2
  • scikit-learn >=1.0.1
demo/color_generator/requirements.txt pypi
  • numpy *
  • opencv-python *
demo/color_picker/requirements.txt pypi
  • Pillow *
demo/dashboard/requirements.txt pypi
  • plotly *
demo/depth_estimation/requirements.txt pypi
  • Pillow *
  • jinja2 *
  • numpy *
  • open3d *
  • torch *
  • transformers add_dpt_redesign
demo/diffusers_with_batching/requirements.txt pypi
  • diffusers *
  • torch *
  • transformers *
demo/digit_classifier/requirements.txt pypi
  • tensorflow *
demo/english_translator/requirements.txt pypi
  • torch *
  • transformers *
demo/fake_diffusion/requirements.txt pypi
  • numpy *
demo/fraud_detector/requirements.txt pypi
  • pandas *
demo/generate_english_german/requirements.txt pypi
  • torch *
  • transformers *
demo/generate_tone/requirements.txt pypi
  • numpy *
demo/gif_maker/requirements.txt pypi
  • opencv-python *
demo/gradio_pdf_demo/requirements.txt pypi
  • gradio_pdf ==0.0.3
demo/image_classification/requirements.txt pypi
  • torch *
  • torchvision *
demo/image_classifier/requirements.txt pypi
  • numpy *
  • tensorflow *
demo/image_classifier_2/requirements.txt pypi
  • pillow *
  • torch *
  • torchvision *
demo/line_plot/requirements.txt pypi
  • pandas *
  • vega_datasets *
demo/lineplot_component/requirements.txt pypi
  • vega_datasets *