From 129bf204b509711b106b7dfa7e8a3eb4cf5e1c6e Mon Sep 17 00:00:00 2001 From: Yveske77 <55466187+Yveske77@users.noreply.github.com> Date: Sat, 10 Jan 2026 10:51:42 +0100 Subject: [PATCH] Removes download button from audio inputs Removes the `show_download_button` option from several audio input components. This change simplifies the UI and avoids potential confusion or unnecessary functionality related to downloading reference audio files. --- .DS_Store | Bin 0 -> 8196 bytes acestep/ui/components.py | 8 ++++---- 2 files changed, 4 insertions(+), 4 deletions(-) create mode 100644 .DS_Store diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..e052a9b64b2537c98b3c092ebd30d2a80597322a GIT binary patch literal 8196 zcmeHM&ubGw6n@h#HDJYhuoOgDiyjqw6ht;9LJa*4g(Gn3= zaA{mPi*7>Gc6}Avj2pQIREVc;XJvgeiTedl84v|T0Z~8{5Cuem|3v|u*}7Fq&V6f@ zUK9`oPNf3+{Se~P7&*)=npX!pQvv`344a1g1$_ey9Yzi_i?E<68w#|c%9R+(hGRT* zev!k>q75hIiVx*7D_5Z?lO6Mi#+_7TQF>886eud7YxjU|Qirx_$m@6Y@lBK4;-psF z=q4K&t2EO0J6B&ERDFBvNPB-P|2CiwZXuK|P?I*PO?4X35ZDKgHkfqi2H5oI2_>8n z(W6h(MRBfQmhazjT&KtvC;2M=ERwH}=(S$o8Mi*SI&UrWZ(kNYIPcr9I-%ozXdce7 z+{@#0?z84I2R;M*wW0RFWApXh_rrG1<=2m$5f^U`&ZNx8KF`I$Y>J<0CnT?{cb zPP#VjB6ExK|1D9n2YbpQGOn;nTMKJKq=VtDCK%wUfbK_HqPV2 z^>}xA^d4}rJpUv+&wHib(0R|(bK1gNpo^#CDRili_QgJ{oDEek-90{na}4&A(ViWX zhcll(im!*NkzS89QQ#yfFl$LJ>H7a(`S<^muoU4a3Wx%KselS<>$Oz`yV|-ijjpvr zTn${hX}`>(2|;JdaiA&3f#ZJ|;y#3{j)@#*7BPbM&p!l|{?3r|-)x99tuzw literal 0 HcmV?d00001 diff --git a/acestep/ui/components.py b/acestep/ui/components.py index fc56b298..fff7a7fd 100644 --- a/acestep/ui/components.py +++ b/acestep/ui/components.py @@ -134,7 +134,7 @@ def create_text2music_ui( ) lora_weight = gr.Number(value=1.0, label="Lora weight", step=0.1, maximum=3, minimum=-3) - ref_audio_input = gr.Audio(type="filepath", label="Reference Audio (for Audio2Audio)", visible=False, elem_id="ref_audio_input", show_download_button=True) + ref_audio_input = gr.Audio(type="filepath", label="Reference Audio (for Audio2Audio)", visible=False, elem_id="ref_audio_input") ref_audio_strength = gr.Slider( label="Refer audio strength", minimum=0.0, @@ -403,7 +403,7 @@ def retake_process_func(json_data, retake_variance, retake_seeds): type="filepath", visible=False, elem_id="repaint_source_audio_upload", - show_download_button=True, + ) repaint_source.change( fn=lambda x: gr.update( @@ -572,7 +572,7 @@ def edit_type_change_func(edit_type): type="filepath", visible=False, elem_id="edit_source_audio_upload", - show_download_button=True, + ) edit_source.change( fn=lambda x: gr.update( @@ -724,7 +724,7 @@ def edit_process_func( type="filepath", visible=False, elem_id="extend_source_audio_upload", - show_download_button=True, + ) extend_source.change( fn=lambda x: gr.update(