From df49ee777ec28ece650864394386dbe3fbdd711d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Kr=C3=BCger?= Date: Wed, 26 Nov 2025 23:36:42 +0100 Subject: [PATCH] Fix ProjectService param and Gradio 6 Audio component MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Fix ProjectService: db -> database - Remove show_download_button from gr.Audio (Gradio 6.x) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- main.py | 2 +- src/ui/components/audio_player.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/main.py b/main.py index 90aad08..7e86200 100644 --- a/main.py +++ b/main.py @@ -71,7 +71,7 @@ async def initialize_services(): ) project_service = ProjectService( - db=db, + database=db, output_dir=settings.output_dir, ) diff --git a/src/ui/components/audio_player.py b/src/ui/components/audio_player.py index 19e4f7f..033e65c 100644 --- a/src/ui/components/audio_player.py +++ b/src/ui/components/audio_player.py @@ -24,12 +24,11 @@ def create_audio_player( """ with gr.Group(): - # Audio player + # Audio player - Gradio 6.x removed show_download_button audio_output = gr.Audio( label=label, type="filepath", interactive=False, - show_download_button=show_download, ) # Waveform visualization