Gradio
Data & MLBuild and share delightful machine learning apps, all in Python. 🌟 Star to support our work!
Release History
gradio@6.12.07 fixes11 featuresThis release introduces significant testing coverage across various components like Slider, Layout, Chatbot, Gallery, and DateTime, alongside the major feature of adding the `@gr.cache()` decorator for function caching. Several bug fixes address issues related to sharing errors, validation display, and filename handling.
@gradio/video@0.20.7This release focuses on updating several internal Gradio component dependencies to newer versions.
@gradio/vibeeditor@0.3.9This release focuses on updating internal Gradio dependencies to newer versions, including @gradio/atoms, @gradio/statustracker, and @gradio/client.
@gradio/textbox@0.13.8This release primarily consists of dependency updates to @gradio/atoms and @gradio/statustracker.
@gradio/statustracker@0.14.01 fix2 featuresThis release introduces the new @gr.cache() decorator and gr.Cache for function caching, along with a fix for validation error visibility in StatusTracker components.
@gradio/slider@0.7.101 featureThis release primarily includes dependency updates and the addition of Slider Tests.
@gradio/simpletextbox@0.3.40This release primarily consists of dependency updates to @gradio/atoms and @gradio/statustracker.
@gradio/simpledropdown@0.3.38This release primarily consists of dependency updates to @gradio/atoms and @gradio/statustracker.
@gradio/radio@0.10.2This release primarily consists of dependency updates to @gradio/atoms and @gradio/statustracker.
@gradio/simpleimage@0.9.9This release focuses on updating internal Gradio dependencies to newer versions, including @gradio/atoms, @gradio/statustracker, and @gradio/client.
@gradio/row@0.3.21 featureThis release introduces layout tests and updates the dependency on @gradio/statustracker to version 0.14.0.
@gradio/sidebar@0.2.71 featureThis release introduces layout tests and updates several internal Gradio component dependencies.
@gradio/plot@0.10.8This release primarily consists of dependency updates to @gradio/atoms and @gradio/statustracker.
@gradio/paramviewer@0.9.8This release primarily consists of dependency updates to @gradio/atoms and @gradio/statustracker.
@gradio/number@0.8.7This release primarily consists of dependency updates to @gradio/atoms and @gradio/statustracker.
@gradio/navbar@0.2.10This release primarily consists of dependency updates to various Gradio internal packages, including @gradio/atoms, @gradio/statustracker, and @gradio/core.
@gradio/nativeplot@0.10.6This release primarily consists of dependency updates to @gradio/atoms and @gradio/statustracker.
@gradio/multimodaltextbox@0.11.10This release updates several internal Gradio sub-package dependencies to newer versions, including atoms, client, image, video, audio, and statustracker.
@gradio/model3d@0.16.8This release primarily consists of dependency updates to various internal Gradio packages, including @gradio/atoms, @gradio/statustracker, and @gradio/client.
@gradio/json@0.7.6This release primarily consists of dependency updates to @gradio/atoms and @gradio/statustracker.
@gradio/markdown@0.13.32This release primarily consists of dependency updates to several internal Gradio components.
@gradio/label@0.6.71 fixThis release primarily focuses on dependency updates and minor fixes, including updates to label tests.
@gradio/markdown-code@0.7.02 featuresThis release introduces caching capabilities via the new @gr.cache() decorator and the lower-level gr.Cache utility.
@gradio/imageslider@0.4.7This release focuses on updating internal Gradio dependencies to newer versions, including @gradio/atoms, @gradio/statustracker, and @gradio/client.
@gradio/imageeditor@0.18.10This release focuses on updating several internal Gradio component dependencies to newer versions.
@gradio/image@0.26.21 fixThis release primarily focuses on fixing an issue where validation errors were not displayed correctly for components relying on StatusTracker, alongside several dependency updates.
@gradio/html@0.12.2This release focuses on updating internal Gradio dependencies to newer versions, including @gradio/atoms, @gradio/statustracker, and @gradio/client.
@gradio/highlightedtext@0.11.6This release primarily consists of dependency updates to @gradio/atoms and @gradio/statustracker.
@gradio/gallery@0.17.61 featureThis release primarily focuses on dependency updates across several Gradio sub-packages and introduces new unit tests for the Gallery component.
@gradio/group@0.3.51 featureThis release primarily introduces layout tests to improve stability. No major functional changes were noted.
@gradio/fileexplorer@0.6.7This release updates several internal Gradio dependencies to newer versions, including @gradio/client, @gradio/file, and others.
@gradio/form@0.3.31 featureThis release primarily includes layout tests and updates the dependency for @gradio/atoms.
@gradio/file@0.14.7This release focuses on updating internal Gradio dependencies to newer versions, including @gradio/atoms, @gradio/statustracker, and @gradio/client.
@gradio/fallback@0.4.38This release focuses on updating internal Gradio dependencies to newer versions.
@gradio/dropdown@0.11.8This release primarily consists of dependency updates to @gradio/atoms and @gradio/statustracker.
@gradio/dataframe@0.23.1This release primarily consists of dependency updates across several Gradio internal packages.
@gradio/dialogue@0.3.7This release primarily consists of dependency updates to various Gradio sub-packages, including atoms, statustracker, textbox, and dropdown.
@gradio/datetime@0.4.7This release primarily consists of dependency updates to @gradio/atoms and @gradio/statustracker.
@gradio/dataset@0.5.81 featureThis release primarily focuses on internal dependency updates and the addition of layout tests.
@gradio/column@0.3.31 featureThis release introduces layout tests and updates the dependency on @gradio/statustracker to version 0.14.0.
@gradio/code@0.17.71 featureThis release primarily focuses on internal improvements by adding code tests and updating dependencies for @gradio/atoms and @gradio/statustracker.
@gradio/audio@0.23.2This release focuses on updating internal Gradio dependencies to newer versions, including @gradio/atoms, @gradio/statustracker, and @gradio/client.
@gradio/colorpicker@0.5.10This release primarily consists of dependency updates to @gradio/atoms and @gradio/statustracker.
@gradio/checkboxgroup@0.10.2This release focuses on updating internal Gradio dependencies to versions 0.23.1 and 0.14.0 respectively.
@gradio/checkbox@0.6.7This release primarily consists of dependency updates to @gradio/atoms and @gradio/statustracker.
@gradio/chatbot@0.29.8This release updates several internal Gradio component dependencies to newer versions.
@gradio/annotatedimage@0.11.71 featureThis release includes updates to several internal Gradio packages and adds annotated image unit tests.
@gradio/accordion@0.5.35This release primarily consists of dependency updates to various Gradio internal packages, including atoms, statustracker, and column.
@gradio/atoms@0.23.11 featureThis release primarily introduces new unit tests for the Chatbot component, enhancing overall stability.
@gradio/client@2.2.01 fix2 featuresThis release introduces the new @gr.cache() decorator and gr.Cache for function caching, and resolves an issue with ZeroGPU handling in gr.Server.
gradio@6.11.013 fixes6 featuresThis release introduces several new unit tests, migrates the dataframe component to Svelte 5, and improves performance by avoiding polling in SSE routes. Numerous bugs related to component interactivity, error handling, and load times have also been resolved.
@gradio/video@0.20.61 featureThis release focuses on internal improvements by adding Audio and Video unit tests and updating several internal Gradio packages.
@gradio/vibeeditor@0.3.8This release updates dependencies for several internal Gradio packages, including @gradio/utils, @gradio/atoms, and @gradio/statustracker.
@gradio/upload@0.17.8This release includes updates to internal Gradio dependencies: @gradio/utils to version 0.12.2 and @gradio/atoms to version 0.23.0.
@gradio/utils@0.12.21 featureThis release primarily introduces new unit tests for Audio and Video components.
@gradio/simpletextbox@0.3.39This release primarily consists of dependency updates to internal Gradio packages, including @gradio/utils, @gradio/atoms, and @gradio/statustracker.
@gradio/slider@0.7.9This release updates several internal Gradio dependencies, including @gradio/utils, @gradio/atoms, and @gradio/statustracker, to newer versions.
@gradio/textbox@0.13.7This release updates dependencies for several internal Gradio packages, including @gradio/utils, @gradio/atoms, and @gradio/statustracker.
@gradio/statustracker@0.13.1This release updates dependencies for @gradio/utils to version 0.12.2 and @gradio/atoms to version 0.23.0.
@gradio/tabs@0.5.91 fixThis release primarily addresses a bug in Tab interactivity and updates the internal @gradio/utils dependency.
@gradio/simpleimage@0.9.8This release focuses on updating several internal Gradio dependencies to newer versions, including @gradio/utils, @gradio/atoms, @gradio/statustracker, and @gradio/upload.
@gradio/simpledropdown@0.3.37This release updates dependencies for several internal Gradio packages, including @gradio/utils, @gradio/atoms, and @gradio/statustracker.
@gradio/sidebar@0.2.6This release updates dependencies for several internal Gradio packages, including @gradio/utils, @gradio/atoms, and @gradio/statustracker.
@gradio/radio@0.10.1This release updates several internal Gradio dependencies, including @gradio/utils, @gradio/atoms, and @gradio/statustracker, to newer versions.
@gradio/preview@0.16.21 fixThis release primarily addresses a bug fix related to making the example field optional during component creation.
@gradio/plot@0.10.7This release updates dependencies for several internal Gradio packages, including @gradio/utils, @gradio/atoms, and @gradio/statustracker.
@gradio/paramviewer@0.9.7This release updates dependencies for several internal Gradio packages, including @gradio/utils, @gradio/atoms, and @gradio/statustracker.
@gradio/number@0.8.6This release updates dependencies for several internal Gradio packages, including @gradio/utils, @gradio/atoms, and @gradio/statustracker.
@gradio/model3d@0.16.7This release focuses on updating several internal Gradio dependencies to newer versions, including @gradio/utils, @gradio/atoms, @gradio/statustracker, and @gradio/upload.
@gradio/nativeplot@0.10.5This release updates dependencies for several internal Gradio packages, including @gradio/utils, @gradio/atoms, and @gradio/statustracker.
@gradio/multimodaltextbox@0.11.9This release updates several internal Gradio dependencies to newer versions, including utils, atoms, statustracker, upload, image, video, and audio components.
@gradio/imageslider@0.4.6This release focuses on updating several internal Gradio dependencies to newer versions, including @gradio/utils, @gradio/atoms, @gradio/statustracker, and @gradio/upload.
@gradio/navbar@0.2.9This release updates dependencies for several Gradio sub-packages, including @gradio/utils, @gradio/atoms, @gradio/statustracker, and @gradio/core.
@gradio/markdown@0.13.31This release updates dependencies for several internal Gradio packages, including @gradio/utils, @gradio/atoms, and @gradio/statustracker.
@gradio/label@0.6.6This release updates dependencies for several internal Gradio packages, including @gradio/utils, @gradio/atoms, and @gradio/statustracker.
@gradio/json@0.7.5This release focuses on updating internal Gradio dependencies to newer versions, including @gradio/utils, @gradio/atoms, and @gradio/statustracker.
@gradio/image@0.26.11 fixThis release primarily focuses on dependency updates across several Gradio sub-packages and includes a minor fix utilizing test utilities.
@gradio/imageeditor@0.18.91 fixThis release primarily focuses on dependency updates and includes a specific fix for the ImageEditor component's brush preview behavior on vertical images.
@gradio/gallery@0.17.51 fixThis release primarily addresses a bug in the Gallery component related to image appending and updates several internal Gradio package dependencies.
@gradio/html@0.12.1This release updates dependencies for several internal Gradio packages, including @gradio/utils, @gradio/atoms, and @gradio/statustracker.
@gradio/highlightedtext@0.11.5This release primarily consists of dependency updates to internal Gradio packages, including @gradio/utils, @gradio/atoms, and @gradio/statustracker.
@gradio/group@0.3.41 fixThis release primarily addresses a bug in group visibility handling, ensuring dynamic toggling works correctly by reading visibility from shared properties. It also updates the internal @gradio/utils dependency.
@gradio/file@0.14.6This release focuses on updating several internal Gradio dependencies to newer versions, including @gradio/utils, @gradio/atoms, @gradio/statustracker, and @gradio/upload.
@gradio/form@0.3.2This release updates dependencies for @gradio/utils to version 0.12.2 and @gradio/atoms to version 0.23.0.
@gradio/fileexplorer@0.6.6This release focuses on updating several internal Gradio component dependencies to newer versions.
@gradio/dropdown@0.11.7This release focuses on updating internal Gradio dependencies to newer versions, including @gradio/utils, @gradio/atoms, and @gradio/statustracker.
@gradio/fallback@0.4.37This release updates dependencies for several internal Gradio packages, including @gradio/utils, @gradio/atoms, and @gradio/statustracker.
@gradio/dataset@0.5.7This release updates dependencies for several core Gradio components, including utils, atoms, upload, and textbox.
@gradio/dialogue@0.3.6This release updates several internal Gradio dependencies to newer versions, including @gradio/utils, @gradio/atoms, and others.
@gradio/datetime@0.4.6This release updates dependencies for several internal Gradio packages, including @gradio/utils, @gradio/atoms, and @gradio/statustracker.
@gradio/dataframe@0.23.01 featureThis release focuses on internal modernization by migrating the dataframe component to Svelte 5 and updating several internal Gradio packages.
@gradio/core@1.4.22 fixesThis release focuses on bug fixes, including resolving an interactivity issue with Tabs and preventing incorrect label rendering in i18n contexts, alongside numerous internal dependency updates.
@gradio/colorpicker@0.5.91 fixThis release primarily addresses a bug in the ColorPicker component by ensuring its output is consistently formatted as a hex string. It also includes minor dependency updates.
@gradio/checkboxgroup@0.10.1This release primarily consists of dependency updates to various internal Gradio packages, including @gradio/utils, @gradio/atoms, and @gradio/statustracker.
@gradio/code@0.17.6This release focuses on updating several internal Gradio dependencies to newer versions, including @gradio/utils, @gradio/atoms, @gradio/statustracker, and @gradio/upload.
@gradio/chatbot@0.29.7This release focuses on updating various internal Gradio component dependencies to newer versions.
@gradio/checkbox@0.6.6This release updates dependencies for several internal Gradio packages, including @gradio/utils, @gradio/atoms, and @gradio/statustracker.
@gradio/audio@0.23.11 featureThis release focuses on internal improvements by adding Audio and Video unit tests and updating several internal Gradio packages.
@gradio/box@0.2.31@gradio/atoms@0.23.01 fix1 featureThis release introduces new Image Unit Tests and includes a fix to reduce the load times of all components. It also updates the dependency for @gradio/utils.
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