Skip to content

Conversation

albertvillanova
Copy link
Member

Fix AttributeError when using GradioUI with minimum supported Gradio version by updating the minimum supported gradio version to >= 5.14.0.

The issue was introduced in smolagents-1.10.0 via:

That PR introduced the use of gradio.Sidebar, which is a component that was only introduced in gradio-5.14.0:

Fix #1308.

@albertvillanova albertvillanova changed the title Fix AttributeError when using GradioUI with minimum supported Gradio version Update minimum supported Gradio version to 5.14.0 to fix Sidebar-related AttributeError May 8, 2025
@albertvillanova albertvillanova merged commit ad498c7 into huggingface:main May 9, 2025
3 checks passed
@albertvillanova albertvillanova deleted the fix-1308 branch May 9, 2025 11:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] AttributeError when using GradioUI with min supported Gradio version
2 participants