Skip to content

Update to gradio 6#953

Merged
Josef-Haupt merged 2 commits into
mainfrom
gradio-6-changes
Jul 14, 2026
Merged

Update to gradio 6#953
Josef-Haupt merged 2 commits into
mainfrom
gradio-6-changes

Conversation

@Josef-Haupt

Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings July 13, 2026 09:52

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the GUI code to stay compatible with Gradio 6 by adjusting component construction and update patterns in the training and analysis tabs.

Changes:

  • Add explicit buttons=[] configuration to list/matrix/dataframe/audio components to align with updated Gradio component APIs.
  • Replace returning layout components (e.g., gr.Row(...), gr.Column(...)) from callbacks with gr.update(...) for visibility toggling.
  • Adjust some layout/context-manager structure (e.g., wrapping accordions with groups; simplifying nested gr.Row() usage).

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.

File Description
birdnet_analyzer/gui/train.py Updates training tab Gradio components and callbacks for Gradio 6 visibility/update behavior and layout grouping.
birdnet_analyzer/gui/single_file.py Updates single-file tab components (Audio/Dataframe) to explicitly configure buttons for Gradio 6.
birdnet_analyzer/gui/multi_file.py Updates multi-file tab components (Matrix/List) to explicitly configure buttons for Gradio 6.
.gitignore Ignores .claude (AI tooling metadata).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Josef-Haupt Josef-Haupt merged commit b7d9b9d into main Jul 14, 2026
3 of 7 checks passed
@Josef-Haupt Josef-Haupt deleted the gradio-6-changes branch July 14, 2026 07:46
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.

2 participants