Next commited on
Update app.py
Browse files630 unmodified lines63163263363463563663719 unmodified lines65765865966066166223 unmodified lines686687688689690691692693694695696630 unmodified lineswith gr.Blocks(theme=applio) as app:gr.Markdown("# <center> Advanced RVC Inference\n")with gr.Row():sid = gr.Dropdown(19 unmodified linesrefresh_model.click(fn=check_models, inputs=[], outputs=[sid, file_index])clean_button.click(fn=clean, inputs=[], outputs=[sid, spk_item])with gr.TabItem("Inference"):selected_model = gr.Markdown(value="# <center> No model selected")23 unmodified linesvc_inst_preview = gr.Audio(label="Instrumental Preview", interactive=False, visible=True)with gr.Accordion('settings', open=False):with gr.Column():vc_transform0 = gr.Number(label="Transpose",info='Type "12" to change from male to female convertion or Type "-12" to change female to male convertion.',value=0)f0method0 = gr.Radio(label="Pitch extraction algorithm",info=f0method_info,630 unmodified lines63163263363463563663719 unmodified lines65765865966066166266366466566666723 unmodified lines691692693694695696630 unmodified lineswith gr.Blocks(theme=applio) as app:gr.Markdown("# <center> RVC V2\n")with gr.Row():sid = gr.Dropdown(19 unmodified linesrefresh_model.click(fn=check_models, inputs=[], outputs=[sid, file_index])vc_transform0 = gr.Number(label="Transpose",info='Type "12" to change from male to female convertion or Type "-12" to change female to male convertion.',value=0)clean_button.click(fn=clean, inputs=[], outputs=[sid, spk_item])with gr.TabItem("Inference"):selected_model = gr.Markdown(value="# <center> No model selected")23 unmodified linesvc_inst_preview = gr.Audio(label="Instrumental Preview", interactive=False, visible=True)with gr.Accordion('settings', open=False):with gr.Column():f0method0 = gr.Radio(label="Pitch extraction algorithm",info=f0method_info,
app.py+6-6