Gradio
Data & MLBuild and share delightful machine learning apps, all in Python. 🌟 Star to support our work!
Release History
gradio@6.6.015 fixes2 featuresThis release introduces the ability to hide empty forms and includes numerous bug fixes across components like ChatInterface, Gallery, and ColorPicker, alongside the migration of the Video component to Svelte 5.
@gradio/video@0.20.31 fixThis release primarily focuses on internal dependency updates and includes a fix for the Video component related to the Svelte 5 migration.
@gradio/vibeeditor@0.3.5This release updates dependencies for several internal Gradio packages, including @gradio/utils, @gradio/atoms, and @gradio/statustracker.
@gradio/utils@0.11.31 fixThis release primarily focuses on internal improvements by refactoring the translation logic.
@gradio/textbox@0.13.4This release updates dependencies for several internal Gradio packages, including @gradio/utils, @gradio/atoms, and @gradio/statustracker.
@gradio/upload@0.17.6This release primarily consists of dependency updates to @gradio/utils and @gradio/atoms.
@gradio/tabs@0.5.61 fixThis release primarily addresses a bug related to the rendering of accordion children when opened programmatically and updates a dependency.
@gradio/statustracker@0.12.41 fixThis release primarily focuses on dependency updates and a minor fix ensuring disconnected toast text visibility.
@gradio/slider@0.7.6This release updates dependencies for several internal Gradio packages, including @gradio/utils, @gradio/atoms, and @gradio/statustracker.
@gradio/simpleimage@0.9.5This release focuses on updating several internal Gradio dependencies to newer versions, including @gradio/utils, @gradio/atoms, @gradio/statustracker, and @gradio/upload.
@gradio/simpletextbox@0.3.36This release updates dependencies for several internal Gradio packages, including @gradio/utils, @gradio/atoms, and @gradio/statustracker.
@gradio/sidebar@0.2.3This release focuses on updating internal Gradio dependencies to newer versions, including @gradio/utils, @gradio/atoms, and @gradio/statustracker.
@gradio/simpledropdown@0.3.34This release updates several internal Gradio dependencies to newer versions, including @gradio/utils, @gradio/atoms, and @gradio/statustracker.
@gradio/plot@0.10.4This release primarily consists of dependency updates to internal Gradio packages, including @gradio/utils, @gradio/atoms, and @gradio/statustracker.
@gradio/radio@0.9.3This release updates dependencies for several internal Gradio packages, including @gradio/utils, @gradio/atoms, and @gradio/statustracker.
@gradio/paramviewer@0.9.4This release primarily consists of dependency updates to internal Gradio packages, including @gradio/utils, @gradio/atoms, and @gradio/statustracker.
@gradio/navbar@0.2.6This release updates several internal Gradio dependencies, including @gradio/utils, @gradio/atoms, @gradio/statustracker, and @gradio/core to newer versions.
@gradio/number@0.8.3This release focuses on updating internal Gradio dependencies to newer versions, including @gradio/utils, @gradio/atoms, and @gradio/statustracker.
@gradio/markdown@0.13.28This release primarily consists of dependency updates to internal Gradio packages, including @gradio/utils, @gradio/atoms, and @gradio/statustracker.
@gradio/nativeplot@0.10.2This release updates several internal Gradio dependencies to newer versions, including @gradio/utils, @gradio/atoms, and @gradio/statustracker.
@gradio/multimodaltextbox@0.11.6This release updates several internal Gradio component dependencies to newer versions, including utils, atoms, statustracker, upload, video, image, and audio.
@gradio/model3d@0.16.4This release focuses on updating several internal Gradio dependencies to newer versions, including @gradio/utils, @gradio/atoms, @gradio/statustracker, and @gradio/upload.
@gradio/label@0.6.3This release updates dependencies for several internal Gradio packages, including @gradio/utils, @gradio/atoms, and @gradio/statustracker.
@gradio/imageslider@0.4.3This release focuses on updating several internal Gradio dependencies to newer versions, including @gradio/utils, @gradio/atoms, @gradio/statustracker, and @gradio/upload.
@gradio/imageeditor@0.18.6This release focuses on updating several internal Gradio component dependencies to newer versions.
@gradio/json@0.7.2This release focuses on updating internal Gradio dependencies to newer versions, including @gradio/utils, @gradio/atoms, and @gradio/statustracker.
@gradio/html@0.9.3This release focuses on updating internal Gradio dependencies to newer versions, including @gradio/utils, @gradio/atoms, and @gradio/statustracker.
@gradio/image@0.25.3This release primarily consists of dependency updates to various internal Gradio packages, including @gradio/utils, @gradio/atoms, @gradio/statustracker, and @gradio/upload.
@gradio/gallery@0.17.12 fixesThis release focuses on bug fixes for the Gallery component, specifically addressing issues with fullscreen functionality in preview mode and the initial loading of preview mode. It also includes several minor dependency updates.
@gradio/highlightedtext@0.11.2This release focuses on updating internal Gradio dependencies to newer versions, including @gradio/utils, @gradio/atoms, and @gradio/statustracker.
@gradio/form@0.3.01 featureThis release introduces a minor feature to hide empty forms and updates internal Gradio utility dependencies.
@gradio/file@0.14.3This release focuses on updating several internal Gradio dependencies to newer versions, including @gradio/utils, @gradio/atoms, @gradio/statustracker, and @gradio/upload.
@gradio/fileexplorer@0.6.3This release updates several internal Gradio component dependencies to newer versions, including @gradio/utils, @gradio/atoms, and others.
@gradio/fallback@0.4.34This release updates dependencies for several internal Gradio packages, including @gradio/utils, @gradio/atoms, and @gradio/statustracker.
@gradio/dropdown@0.11.4This release focuses on updating internal Gradio dependencies to newer versions, including @gradio/utils, @gradio/atoms, and @gradio/statustracker.
@gradio/dialogue@0.3.3This release updates several internal Gradio dependencies to newer patch or minor versions.
@gradio/dataframe@0.21.5This release updates several internal Gradio dependencies to newer patch or minor versions.
@gradio/datetime@0.4.3This release updates several internal Gradio dependencies to newer versions, including @gradio/utils, @gradio/atoms, and @gradio/statustracker.
@gradio/dataset@0.5.4This release updates dependencies for several core Gradio components, including utils, atoms, upload, and textbox.
@gradio/core@1.2.02 fixes1 featureThis release introduces the feature to hide forms lacking elements and includes several dependency updates alongside bug fixes for the chat interface stop button and translation logic.
@gradio/checkboxgroup@0.9.3This release updates several internal Gradio dependencies to newer versions, including @gradio/utils, @gradio/atoms, and @gradio/statustracker.
@gradio/colorpicker@0.5.61 fixThis release primarily addresses a bug where the ColorPicker component failed to fire necessary events following the Svelte 5 migration. It also includes minor dependency updates.
@gradio/code@0.17.3This release focuses on updating several internal Gradio dependencies to newer versions, including @gradio/utils, @gradio/atoms, @gradio/statustracker, and @gradio/upload.
@gradio/audio@0.22.31 fixThis release primarily focuses on fixing an issue where the stop button failed to function correctly during Audio streaming, alongside several minor dependency updates.
@gradio/chatbot@0.29.4This release primarily consists of dependency updates across various internal Gradio components.
@gradio/checkbox@0.6.3This release updates dependencies for several internal Gradio packages, including @gradio/utils, @gradio/atoms, and @gradio/statustracker.
@gradio/box@0.2.30@gradio/atoms@0.22.01 featureThis release introduces a minor feature to hide empty forms and updates the internal @gradio/utils dependency.
@gradio/annotatedimage@0.11.3This release focuses on updating several internal Gradio dependencies to newer versions, including @gradio/utils, @gradio/atoms, @gradio/statustracker, and @gradio/upload.
@gradio/accordion@0.5.311 fixThis release primarily addresses a bug related to accordion rendering when opened programmatically and includes several minor dependency updates.
gradio@6.5.12 fixesThis release focuses on bug fixes, ensuring slider change events fire correctly at value 0 and addressing a hotfix by adding pytz to requirements.
@gradio/slider@0.7.51 fixThis release primarily focuses on fixing an issue where the change event was not firing correctly for slider components when the value was set to 0.
gradio@6.5.03 fixes2 featuresThis release introduces new features like webcam uploads for the gallery and compatibility with pandas version 3. It also includes numerous internal migrations to Svelte 5 for various components.
@gradio/video@0.20.2This release focuses on updating several internal Gradio component dependencies to newer versions.
@gradio/vibeeditor@0.3.4This release primarily consists of dependency updates to various Gradio sub-packages, including @gradio/atoms, @gradio/client, and @gradio/statustracker.
@gradio/upload@0.17.5This release primarily consists of dependency updates to @gradio/atoms and @gradio/client.
@gradio/textbox@0.13.3This release primarily consists of dependency updates to @gradio/atoms and @gradio/statustracker.
@gradio/statustracker@0.12.31 fixThis release primarily focuses on internal migration, updating the StatusTracker component to use Svelte 5 and updating the @gradio/atoms dependency.
@gradio/slider@0.7.4This release primarily consists of dependency updates to @gradio/atoms and @gradio/statustracker.
@gradio/simpleimage@0.9.4This release focuses on updating several internal Gradio dependencies to newer versions, including @gradio/atoms, @gradio/client, @gradio/statustracker, and @gradio/upload.
@gradio/simpletextbox@0.3.35This release primarily consists of dependency updates to @gradio/atoms and @gradio/statustracker.
@gradio/simpledropdown@0.3.33This release primarily consists of dependency updates to @gradio/atoms and @gradio/statustracker.
@gradio/radio@0.9.2This release primarily consists of dependency updates to @gradio/atoms and @gradio/statustracker.
@gradio/sidebar@0.2.2This release primarily consists of dependency updates to @gradio/atoms and @gradio/statustracker.
@gradio/plot@0.10.3This release primarily consists of dependency updates to @gradio/atoms and @gradio/statustracker.
@gradio/paramviewer@0.9.3This release primarily consists of dependency updates to @gradio/atoms and @gradio/statustracker.
@gradio/number@0.8.2This release primarily consists of dependency updates to @gradio/atoms and @gradio/statustracker.
@gradio/multimodaltextbox@0.11.51 fixThis release primarily focuses on internal dependency updates and includes a fix for migrating gr.MultimodalTextbox.
@gradio/markdown@0.13.27This release primarily consists of dependency updates to @gradio/atoms and @gradio/statustracker.
@gradio/navbar@0.2.5This release primarily consists of dependency updates to various Gradio sub-packages, including atoms, statustracker, and core.
@gradio/nativeplot@0.10.1This release primarily consists of dependency updates to @gradio/atoms and @gradio/statustracker.
@gradio/model3d@0.16.3This release focuses on updating internal Gradio dependencies to newer versions across several core components.
@gradio/imageeditor@0.18.5This release focuses on updating internal Gradio component dependencies to newer versions.
@gradio/json@0.7.1This release primarily consists of dependency updates to @gradio/atoms and @gradio/statustracker.
@gradio/imageslider@0.4.2This release focuses on updating internal Gradio dependencies to newer versions, including @gradio/atoms, @gradio/client, @gradio/statustracker, and @gradio/upload.
@gradio/label@0.6.2This release primarily consists of dependency updates to @gradio/atoms and @gradio/statustracker.
@gradio/image@0.25.2This release focuses on updating several internal Gradio dependencies to newer versions, including @gradio/atoms, @gradio/client, @gradio/statustracker, and @gradio/upload.
@gradio/gallery@0.17.01 featureThis release introduces the ability to use webcam uploads and clipboard pasting directly into the Gallery component, alongside several dependency updates.
@gradio/html@0.9.2This release primarily consists of dependency updates to @gradio/atoms and @gradio/statustracker.
@gradio/highlightedtext@0.11.1This release primarily consists of dependency updates to @gradio/atoms and @gradio/statustracker.
@gradio/form@0.2.30@gradio/file@0.14.2This release focuses on updating internal Gradio dependencies to newer versions across several core components.
@gradio/dropdown@0.11.3This release primarily consists of dependency updates to @gradio/atoms and @gradio/statustracker.
@gradio/fileexplorer@0.6.21 fixThis release focuses on internal modernization by migrating the js/fileexplorer component to Svelte 5 and updating several internal Gradio package dependencies.
@gradio/dataset@0.5.31 fixThis release focuses on internal component updates, notably migrating the Dataset component to Svelte 5, alongside several dependency updates.
@gradio/fallback@0.4.33This release primarily consists of dependency updates to @gradio/atoms and @gradio/statustracker.
@gradio/dialogue@0.3.2This release focuses on updating several internal Gradio component dependencies to newer versions.
@gradio/datetime@0.4.2This release primarily consists of dependency updates to @gradio/atoms and @gradio/statustracker.
@gradio/core@1.1.31 fixThis release primarily focuses on dependency updates across various Gradio sub-packages and includes a fix for the Login component.
@gradio/dataframe@0.21.4This release focuses on updating internal Gradio component dependencies to newer versions.
@gradio/colorpicker@0.5.5This release primarily consists of dependency updates to @gradio/atoms and @gradio/statustracker.
@gradio/code@0.17.21 fixThis release primarily focuses on internal dependency updates and a fix related to JavaScript code migration.
@gradio/checkboxgroup@0.9.2This release primarily consists of dependency updates to @gradio/atoms and @gradio/statustracker.
@gradio/chatbot@0.29.3This release updates several internal Gradio component dependencies to newer versions, including @gradio/atoms, @gradio/client, and others.
@gradio/box@0.2.29@gradio/checkbox@0.6.2This release primarily consists of dependency updates to @gradio/atoms and @gradio/statustracker.
@gradio/audio@0.22.2This release focuses on updating several internal Gradio dependencies to newer versions, including @gradio/atoms, @gradio/client, @gradio/statustracker, and @gradio/upload.
@gradio/client@2.0.43 fixesThis release focuses on stability, addressing several bugs related to private spaces, CSS root in spaces, and the Login feature.
@gradio/atoms@0.21.01 featureThis release introduces the ability to upload images via webcam and clipboard paste directly into the Gallery component.
@gradio/annotatedimage@0.11.2This release focuses on updating internal Gradio dependencies to newer versions across several core components.
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