fix(gradio_ui): Gradio 6 compatibility by alejandro-ao · Pull Request #1903 · huggingface/smolagents (original) (raw)
and others added 3 commits
Migrate from custom chat implementation to gradio.ChatInterface for compatibility with new version of Gradio.
Simplify the UI implementation by leveraging gradio's native ChatInterface component.
Improve file upload handling with built-in multimodal support.
Remove custom state management in favor of ChatInterface's built-in functionality.
Update the UI creation to support both Gradio 5.x and 6.x by dynamically setting version-specific parameters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
[ Show hidden characters]({{ revealButtonHref }})