Update app.py
Browse files268 unmodified lines2692702712722732742752762776 unmodified lines284285286287288289290291292293294268 unmodified lineselem_id="model_folder")# Button to refresh the list of foldersrefresh_button = gr.Button("Refresh Folder List")# Action to refresh folder list on button clickrefresh_button.click(refresh_folders, outputs=MODEL_NAME)with gr.Row():# = gr.Textbox(label="Model Name", placeholder="Enter model name")# SOUND_PATH = gr.Textbox(label="Audio Path (Optional)", placeholder="Leave blank to upload audio")6 unmodified linesvalue=None,)refresh_btn = gr.Button("Refresh Audio List")# Set up button click to refresh audio listrefresh_btn.click(refresh_audio_list, outputs=SOUND_PATH)with gr.Accordion("Conversion Settings"):with gr.Row():268 unmodified lines2692702712722732742756 unmodified lines282283284285286287288289290291292293294295268 unmodified lineselem_id="model_folder")# Button to refresh the list of folderswith gr.Row():# = gr.Textbox(label="Model Name", placeholder="Enter model name")# SOUND_PATH = gr.Textbox(label="Audio Path (Optional)", placeholder="Leave blank to upload audio")6 unmodified linesvalue=None,)refresh_btn = gr.Button("Refresh Audio")refresh_btn.click(refresh_audio_list, outputs=SOUND_PATH)refresh_btn.click(refresh_folders, outputs=MODEL_NAME)with gr.Accordion("Conversion Settings"):with gr.Row():
app.py+7-6