Gradio
Data & MLBuild and share delightful machine learning apps, all in Python. 🌟 Star to support our work!
Release History
View all versions →gradio@6.26.03 fixes3 featuresThis release introduces new features for workflows, including saving as a copy and undo/redo functionality. It also includes several bug fixes, such as resolving OAuth redirect loops and improving SSR behavior for saved runs.
@gradio/workflowcanvas@0.10.02 featuresThis release introduces new features for managing Gradio workflows, including the ability to save workflows as copies and enhanced canvas layout management with undo/redo functionality. It also includes an update to @gradio/client version 2.5.1.
@gradio/sanitize@0.4.21 featureUpgraded vulnerable frontend dependencies to enhance security. This release focuses on improving the overall stability and safety of the Gradio application.
@gradio/markdown-code@0.10.11 featureThis release focuses on upgrading vulnerable frontend dependencies to enhance security. It also updates the @gradio/sanitize package to version 0.4.2.
@gradio/client@2.5.11 fixThis release fixes an issue where saved run outputs were not loaded when Server-Side Rendering (SSR) was enabled.
gradio@6.25.010 fixes4 featuresThis release introduces several workflow enhancements, including forwarding x-ip-token for billing, fixing oauth logic and checkbox visibility, and allowing workflows to be saved directly to a Space. It also includes numerous bug fixes across various components like rendering, chat interfaces, and mobile image handling.
@gradio/image@0.28.21 fixThis release addresses mobile image-related issues.
@gradio/model3d@0.18.31 fixThis release fixes a bug where PLY and OBJ files were not rendering correctly in `gr.Model3D`. The fix ensures these file types are now displayed properly.
@gradio/workflowcanvas@0.9.03 fixes1 featureThis release introduces the ability to save Workflows directly to a Space and includes several bug fixes related to OAuth logic and checkbox visibility in workflows.
@gradio/core@1.11.11 fixThis release fixes an issue with nested reactive render contexts. The fix addresses pull request #13765.
@gradio/dataframe@0.24.31 fixThis release fixes an issue where the Dataframe virtual window was not re-reading correctly when the row count changed. This ensures the Dataframe displays the correct number of rows.
gradio@6.24.04 featuresThis release introduces browser-local run history and loading, and improves workflow handling for app-owned files. It also includes fixes for initial iframe resizing and authentication dependency application.
@gradio/core@1.11.02 featuresThis release introduces browser-local run history and loading, and fixes an issue with initial Spaces iframe resizing after app render.
@gradio/workflowcanvas@0.8.11 featureIntroduced a new workflow feature that selectively inlines app-owned files and keeps opened HTML off the app origin. This release also includes an update to @gradio/client to version 2.5.0.
@gradio/client@2.5.01 featureThis release introduces browser-local run history and loading, enhancing the user experience for tracking and accessing previous runs.
gradio@6.23.11 fixThis release fixes an issue where the processing timer and inherited text were unreadable in dark mode.
@gradio/statustracker@0.15.31 fixThis release fixes an issue where the processing timer and inherited text were unreadable in dark mode.
@gradio/sidebar@0.2.121 fixThis release includes a fix for recalculating sidebar overlap on resize.
@gradio/workflowcanvas@0.8.01 featureThis release introduces an OAuth hint for workflows, enhancing integration capabilities. The change is tracked by pull request #13632.
@gradio/core@1.10.31 fixThis release fixes an issue where the processing timer and inherited text were unreadable in dark mode.
gradio@6.22.02 fixes3 featuresThis release introduces significant enhancements to the `gr.Workflow` component, including auto-creation of nodes, resizable nodes, full-screen image viewing, and webcam/mic capture. It also includes bug fixes for CI regressions, documentation hydration, and authentication boundaries.
@gradio/workflowcanvas@0.7.08 featuresIntroduces significant enhancements to gr.Workflow, including auto-creation of input/output nodes, resizable nodes, full-screen image viewing, and webcam/microphone capture. The UI for node connections has also been improved, and "Data" has been renamed to "Dataset".
@gradio/core@1.10.11 fixThis release includes a fix to harden authentication and file redirect boundaries. It also updates the @gradio/paramviewer dependency to version 0.12.0.
@gradio/paramviewer@0.12.02 fixesThis release addresses issues with release CI regressions for assets and bundles. It also fixes a hydration error on docs pages related to the Prism global not being defined.
gradio@6.21.016 fixes13 featuresThis release introduces several new features including improved workflow capabilities, enhanced event handling, and better API integration for OAuth tokens. It also includes numerous bug fixes for a more stable and performant user experience.
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