Gradio
Data & MLBuild and share delightful machine learning apps, all in Python. 🌟 Star to support our work!
Release History
gradio@6.20.015 fixes8 featuresThis release introduces significant workflow enhancements, migrates Image components to Svelte 5, and resolves several critical bugs related to component rendering, security, and event handling.
@gradio/video@0.22.01 featureThis release focuses on migrating Image components to Svelte 5 and includes several minor dependency updates across Gradio packages.
@gradio/vibeeditor@0.3.12This release focuses on updating internal Gradio dependencies to newer versions, including @gradio/statustracker, @gradio/atoms, and @gradio/client.
@gradio/workflowcanvas@0.5.03 featuresThis release introduces several enhancements to Gradio workflows, including better visualization of subgraph execution and improved input change handling. It also updates several internal Gradio package dependencies.
@gradio/upload@0.18.11 fixThis release primarily addresses a bug in the ImageEditor component related to brush texture resetting and updates several internal Gradio dependencies.
@gradio/textbox@0.14.1This release focuses on updating internal Gradio dependencies to newer versions, including @gradio/statustracker, @gradio/icons, and @gradio/atoms.
@gradio/tabs@0.9.01 featureThis release focuses on migrating Image components to Svelte 5, improving the underlying frontend technology.
@gradio/statustracker@0.15.1This release primarily updates internal dependencies, specifically @gradio/icons to v0.16.0 and @gradio/atoms to v0.26.0.
@gradio/tabitem@0.8.2@gradio/slider@0.8.1This release primarily consists of dependency updates to @gradio/statustracker and @gradio/atoms.
@gradio/simpleimage@0.10.1This release focuses on updating several internal Gradio component dependencies to newer versions.
@gradio/simpletextbox@0.4.1This release focuses on updating internal Gradio dependencies to newer versions, including @gradio/statustracker, @gradio/icons, and @gradio/atoms.
@gradio/markdown@0.14.1This release primarily consists of dependency updates to various internal Gradio packages.
@gradio/simpledropdown@0.5.1This release focuses on updating internal Gradio dependencies to newer versions, including @gradio/statustracker, @gradio/icons, and @gradio/atoms.
@gradio/radio@0.12.1This release includes minor dependency updates to @gradio/statustracker and @gradio/atoms.
@gradio/sidebar@0.2.10This release primarily updates dependencies for @gradio/statustracker and @gradio/atoms.
@gradio/plot@0.12.11 fixThis release primarily addresses a bug where gr.Plot figures with autosize settings would incorrectly collapse to zero height. It also includes minor dependency updates.
@gradio/paramviewer@0.10.1This release includes minor dependency updates to @gradio/statustracker and @gradio/atoms.
@gradio/number@0.9.1This release primarily consists of dependency updates to @gradio/statustracker and @gradio/atoms.
@gradio/nativeplot@0.12.1This release primarily consists of dependency updates to various internal Gradio packages, including @gradio/statustracker, @gradio/icons, and @gradio/atoms.
@gradio/navbar@0.3.1This release focuses on updating internal Gradio dependencies to newer versions, including @gradio/core to 1.9.0.
@gradio/multimodaltextbox@0.14.01 featureThis release introduces a significant frontend update by migrating Image components to Svelte 5 and includes several dependency updates across various Gradio sub-packages.
@gradio/model3d@0.18.1This release focuses on updating several internal Gradio dependencies to newer versions, including @gradio/statustracker, @gradio/icons, @gradio/atoms, @gradio/client, and @gradio/upload.
@gradio/imageslider@0.7.01 featureThis release focuses on migrating Image components to Svelte 5 and includes several minor dependency updates across the Gradio ecosystem.
@gradio/label@0.7.1This release focuses on updating internal Gradio dependencies to newer versions, including @gradio/statustracker, @gradio/icons, and @gradio/atoms.
@gradio/json@0.8.1This release focuses on updating internal Gradio dependencies to newer versions, including @gradio/statustracker, @gradio/icons, and @gradio/atoms.
@gradio/imageeditor@0.20.03 fixes1 featureThis release focuses on migrating Image components to Svelte 5 and includes several bug fixes specifically targeting high CPU usage and incorrect behavior within the ImageEditor component.
@gradio/image@0.28.01 featureThis release focuses on migrating Image components to Svelte 5 and includes several minor dependency updates across the Gradio ecosystem.
@gradio/html@0.13.11 fixThis release primarily addresses a bug in gr.HTML related to script execution timing and updates several internal Gradio dependencies.
@gradio/gallery@0.19.02 featuresThis release introduces a new 'Download All' feature for the Gallery component and completes the migration of Image components to Svelte 5, alongside several internal dependency updates.
@gradio/icons@0.16.01 fix1 featureThis release introduces a new "Download All" feature for the Gallery component and resolves a bug related to brush texture resetting in the ImageEditor.
@gradio/highlightedtext@0.12.1This release focuses on updating internal Gradio dependencies to newer versions, including @gradio/statustracker, @gradio/icons, and @gradio/atoms.
@gradio/form@0.4.1This release updates dependencies for @gradio/icons to version 0.16.0 and @gradio/atoms to version 0.26.0.
@gradio/file@0.15.1This release focuses on updating several internal Gradio component dependencies to newer versions.
@gradio/fileexplorer@0.7.1This release focuses on updating several internal Gradio component dependencies to newer versions.
@gradio/dropdown@0.14.1This release focuses on updating internal Gradio dependencies to newer versions, including @gradio/statustracker, @gradio/icons, and @gradio/atoms.
@gradio/fallback@0.6.1This release primarily consists of dependency updates to @gradio/statustracker and @gradio/atoms.
@gradio/dialogue@0.4.1This release focuses on updating several internal Gradio component dependencies to newer versions.
@gradio/dataset@0.7.1This release focuses on updating several internal Gradio component dependencies to newer versions.
@gradio/datetime@0.4.10This release focuses on updating internal Gradio dependencies to newer versions, including @gradio/statustracker, @gradio/icons, and @gradio/atoms.
@gradio/dataframe@0.24.1This release focuses on updating several internal Gradio component dependencies to newer patch versions.
@gradio/core@1.9.04 fixes1 featureThis release introduces a "Download All" feature for the Gallery component and resolves several critical bugs related to layout sizing, event firing for tabs and streaming updates, and component visibility.
@gradio/button@0.8.1This release focuses on updating internal Gradio dependencies to newer versions, including @gradio/image, @gradio/client, and @gradio/upload.
@gradio/colorpicker@0.5.14This release focuses on updating internal Gradio dependencies to newer versions, including @gradio/statustracker, @gradio/icons, and @gradio/atoms.
@gradio/code@0.18.1This release focuses on updating several internal Gradio component dependencies to newer versions.
@gradio/checkboxgroup@0.12.1This release primarily consists of dependency updates to @gradio/statustracker and @gradio/atoms.
@gradio/chatbot@0.32.01 featureThis release focuses on migrating Image components to Svelte 5 and includes several minor dependency updates across various Gradio sub-packages.
@gradio/checkbox@0.8.1This release primarily consists of dependency updates to @gradio/statustracker and @gradio/atoms.
@gradio/box@0.2.34@gradio/client@2.3.13 fixesThis release focuses on bug fixes, including ensuring state changes fire correctly during streaming and restoring cross-origin embedding functionality by adjusting credential handling.
gradio@6.19.05 fixes2 featuresThis release introduces significant enhancements to Gradio Workflows, enabling API execution for subgraphs, alongside several accessibility and component usability fixes.
@gradio/video@0.21.01 featureThis release focuses on internal development by updating several Gradio sub-packages and enhancing the Continuous Integration (CI) pipeline with linting and TypeScript checks.
@gradio/theme@0.6.21 fixThis release primarily addresses a bug where long unbroken text caused overflow issues within the Markdown component.
@gradio/workflowcanvas@0.4.01 fix1 featureThis release introduces the ability to run Gradio Workflow subgraphs via the API and includes a refactor of the space and model discovery modal.
@gradio/uploadbutton@0.10.1This release primarily consists of dependency updates to various Gradio sub-packages, including @gradio/utils, @gradio/client, @gradio/upload, and @gradio/button.
@gradio/vibeeditor@0.3.11This release focuses on updating several internal Gradio dependencies to newer versions, including @gradio/atoms, @gradio/statustracker, @gradio/utils, and @gradio/client.
@gradio/upload@0.18.01 featureThis release focuses on CI improvements by adding linting and TypeScript checks. It also includes updates to several internal Gradio packages.
@gradio/utils@0.13.02 featuresThis release introduces runtime language switching improvements for i18n display names and updates the Gradio theme dependency.
@gradio/timer@0.5.1@gradio/textbox@0.14.01 featureThis release focuses on CI improvements by adding linting and TypeScript checks to the continuous integration pipeline. It also includes updates to several internal Gradio packages.
@gradio/tabs@0.8.01 featureThis release updates the internal dependency @gradio/utils to version 0.13.0 and enhances CI by adding linting and TypeScript checks.
@gradio/statustracker@0.15.01 featureThis release focuses on internal development by adding CI checks for linting and TypeScript validation, alongside minor dependency updates.
@gradio/row@0.4.01 featureThis release updates internal Gradio dependencies and enhances the Continuous Integration pipeline by adding linting and TypeScript checks.
@gradio/tabitem@0.8.1This release updates dependencies for several Gradio components, including @gradio/utils, @gradio/column, and @gradio/tabs.
@gradio/simpleimage@0.10.01 featureThis release focuses on internal development by updating several Gradio sub-packages and enhancing the Continuous Integration (CI) pipeline with linting and TypeScript checks.
@gradio/state@0.2.4@gradio/slider@0.8.01 featureThis release focuses on CI improvements by adding linting and TypeScript checks to the continuous integration pipeline. It also includes updates to several internal Gradio packages.
@gradio/simpletextbox@0.4.01 featureThis release focuses on internal development by updating several internal Gradio packages and enhancing the CI pipeline with linting and TypeScript checks.
@gradio/simpledropdown@0.5.02 featuresThis release focuses on CI improvements by adding lint and type checking, and enhances internationalization support by allowing runtime language switching for i18n choices.
@gradio/sidebar@0.2.9This release updates several internal Gradio component dependencies to newer versions, including @gradio/atoms, @gradio/statustracker, @gradio/utils, and @gradio/column.
@gradio/radio@0.12.02 featuresThis release focuses on CI improvements by adding lint and type checking, and enhances internationalization support by allowing runtime language switching for i18n choices.
@gradio/plot@0.12.01 featureThis release focuses on internal development by adding linting and TypeScript checks to the CI pipeline and updating several internal Gradio packages.
@gradio/paramviewer@0.10.01 featureThis release focuses on CI improvements by adding linting and TypeScript checks to the continuous integration pipeline. It also includes updates to several internal Gradio packages.
@gradio/number@0.9.01 featureThis release focuses on CI improvements by adding linting and TypeScript checks to the continuous integration pipeline. It also includes updates to several internal Gradio packages.
@gradio/nativeplot@0.12.01 fix1 featureThis release introduces CI checks for linting and TypeScript, and resolves an issue where the fullscreen button failed to function correctly across several image and plot components.
@gradio/navbar@0.3.01 featureThis release focuses on CI improvements by adding linting and TypeScript checks. It also includes several dependency updates across Gradio packages.
@gradio/multimodaltextbox@0.13.01 featureThis release focuses on internal development by updating several Gradio sub-packages and enhancing the Continuous Integration pipeline with linting and TypeScript checks.
@gradio/markdown@0.14.01 featureThis release focuses on improving the continuous integration process by adding linting and TypeScript checks. It also includes several minor dependency updates across Gradio sub-packages.
@gradio/model3d@0.18.01 featureThis release focuses on internal development by updating several Gradio sub-packages and enhancing the Continuous Integration (CI) pipeline with linting and TypeScript checks.
@gradio/markdown-code@0.9.01 fix1 featureThis release introduces improvements to the continuous integration pipeline by adding linting and TypeScript checks. A bug causing text overflow in the Markdown component has also been resolved.
@gradio/label@0.7.01 featureThis release focuses on internal development by adding CI checks for linting and TypeScript validation, alongside several dependency updates.
@gradio/imageeditor@0.19.01 featureThis release focuses on internal development by updating several Gradio sub-packages and enhancing the Continuous Integration (CI) process with linting and TypeScript checks.
@gradio/json@0.8.01 featureThis release focuses on internal development by updating several Gradio sub-packages and enhancing the CI pipeline with linting and TypeScript checks.
@gradio/imageslider@0.6.01 fix1 featureThis release introduces CI checks for linting and TypeScript, and resolves an issue where the fullscreen button failed to operate correctly across several components.
@gradio/image@0.27.02 fixes1 featureThis release introduces CI checks for linting and TypeScript, and resolves several UI bugs related to coordinate selection in images and fullscreen functionality across various components.
@gradio/html@0.13.01 featureThis release focuses on internal quality improvements by integrating linting and TypeScript checks into the CI pipeline, alongside several dependency updates.
@gradio/gallery@0.18.01 featureThis release focuses on internal quality improvements by integrating linting and TypeScript checks into the Continuous Integration (CI) pipeline and updates several internal Gradio packages.
@gradio/highlightedtext@0.12.01 featureThis release focuses on internal development by adding linting and TypeScript checks to the CI pipeline and updating several internal Gradio package dependencies.
@gradio/group@0.3.7@gradio/form@0.4.01 featureThis release focuses on internal development by updating dependencies and adding CI checks for linting and TypeScript validation.
@gradio/fileexplorer@0.7.01 featureThis release focuses on internal development tooling by integrating linting and TypeScript checks into the Continuous Integration pipeline, alongside several dependency updates across Gradio sub-packages.
@gradio/downloadbutton@0.5.1This release focuses on updating internal Gradio dependencies, including @gradio/utils, @gradio/client, and @gradio/button.
@gradio/file@0.15.01 featureThis release focuses on internal development by updating several Gradio sub-packages and enhancing the Continuous Integration (CI) process with linting and TypeScript checks.
@gradio/dropdown@0.14.01 fix2 featuresThis release introduces runtime language switching for i18n display names and improves accessibility for dropdown components. It also updates several internal Gradio package dependencies.
@gradio/fallback@0.6.01 featureThis release focuses on internal development by adding CI checks for linting and TypeScript validation, alongside several dependency updates.
@gradio/draggable@0.4.01 featureThis release updates internal dependencies and enhances the continuous integration pipeline by adding linting and TypeScript checks.
@gradio/dialogue@0.4.01 featureThis release focuses on internal tooling by running linting and TypeScript checks on CI. It also includes several minor dependency updates across Gradio packages.
@gradio/dataset@0.7.01 featureThis release focuses on internal development by updating several Gradio sub-packages and adding CI checks for linting and TypeScript validation.
@gradio/datetime@0.4.9This release primarily consists of dependency updates to internal Gradio packages, including @gradio/atoms, @gradio/statustracker, and @gradio/utils.
@gradio/dataframe@0.24.01 featureThis release focuses on internal quality improvements by integrating linting and TypeScript checking into the Continuous Integration (CI) pipeline. It also updates several internal Gradio package dependencies.
Common Errors
ValueError1 reportValueError: Invalid file descriptor errors in Gradio often arise from issues with file handling, especially when dealing with temporary files or file streams that are prematurely closed or become invalid. Ensure that file objects passed to Gradio components remain open and valid throughout the component's lifecycle, and properly manage temporary files by deleting them explicitly after use, or using context managers to ensure closure. Review and adjust any custom code involving file manipulation to guarantee proper resource management.
OSError1 reportThe OSError "address already in use" in Gradio often arises when a previous Gradio app instance didn't properly release the port it was using, commonly when the launch thread isn't fully terminated on `close()`. To fix this, either explicitly specify a different port in `app.launch(server_port=your_port)` or ensure the previous Gradio app's launch thread is killed, potentially by implementing a more robust shutdown mechanism or checking thread status before launching a new app.
Related Data & ML Packages
An Open Source Machine Learning Framework for Everyone
🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal models, for both inference and training.
Tensors and Dynamic neural networks in Python with strong GPU acceleration
scikit-learn: machine learning in Python
Flexible and powerful data analysis / manipulation library for Python, providing labeled data structures similar to R data.frame objects, statistical functions, and much more
Streamlit — A faster way to build and share data apps.
Subscribe to Updates
Get notified when new versions are released