Fix ProjectService param and Gradio 6 Audio component

- 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 <noreply@anthropic.com>
This commit is contained in:
2025-11-26 23:36:42 +01:00
parent 1779d3898d
commit df49ee777e
2 changed files with 2 additions and 3 deletions

View File

@@ -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