From 465afd57c83b0e7f88d39a0a9679f49520b4a76e Mon Sep 17 00:00:00 2001 From: erew123 <35898566+erew123@users.noreply.github.com> Date: Wed, 12 Jun 2024 15:35:25 +0100 Subject: [PATCH] Accordion on the main Generate screen --- script.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/script.py b/script.py index 6ca0594..fbd37b9 100644 --- a/script.py +++ b/script.py @@ -1747,7 +1747,9 @@ if gradio_enabled == True: rvcat_narrator_voice_gr = params["rvc_settings"]["rvc_narr_model_file"] if rvcat_narrator_voice_gr not in rvcat_available_voices_gr: rvcat_narrator_voice_gr = rvcat_available_voices_gr[0] if rvcat_available_voices_gr else "" - rvcgen_narr = gr.Dropdown(choices=rvcat_available_voices_gr, label="RVC Narrator Voice", value=rvcat_narrator_voice_gr, allow_custom_value=True,) + rvcgen_narr = gr.Dropdown(choices=rvcat_available_voices_gr, label="RVC Narrator Voice", value=rvcat_narrator_voice_gr, allow_custom_value=True,) + + with gr.Accordion("Advanced Engine/Model Settings", open=False): with gr.Row(): #Get the current URL from the page domain_name_output = gr.Textbox(label="Domain Name", visible=False)