helloWorld199 commited on
Commit
0726a41
1 Parent(s): 6243a1f

Update src/webui.py

Browse files
Files changed (1) hide show
  1. src/webui.py +6 -1
src/webui.py CHANGED
@@ -229,7 +229,9 @@ if __name__ == '__main__':
229
  clear_btn = gr.ClearButton(value='Clear', components=[main_vocals_input, backup_vocals_input, rvc_model, keep_files, main_vocals, backup_vocals])
230
  generate_btn = gr.Button("Generate", variant='primary')
231
  ai_cover = gr.Audio(label='AI Cover', show_share_button=False)
232
-
 
 
233
  ref_btn.click(update_models_list, None, outputs=rvc_model)
234
  is_webui = gr.Number(value=1, visible=False)
235
  generate_btn.click(song_cover_pipeline,
@@ -242,6 +244,9 @@ if __name__ == '__main__':
242
  outputs=[pitch, main_gain, backup_gain, inst_gain, index_rate, filter_radius, rms_mix_rate,
243
  protect, f0_method, crepe_hop_length, pitch_all, reverb_rm_size, reverb_wet,
244
  reverb_dry, reverb_damping, output_format, ai_cover])
 
 
 
245
 
246
  # Download tab
247
  with gr.Tab('Download model'):
 
229
  clear_btn = gr.ClearButton(value='Clear', components=[main_vocals_input, backup_vocals_input, rvc_model, keep_files, main_vocals, backup_vocals])
230
  generate_btn = gr.Button("Generate", variant='primary')
231
  ai_cover = gr.Audio(label='AI Cover', show_share_button=False)
232
+ with gr.Accordion('For Debug Purposes', open=False):
233
+ with gr.Row():
234
+ debug_button = gr.Button(value='Debug')
235
  ref_btn.click(update_models_list, None, outputs=rvc_model)
236
  is_webui = gr.Number(value=1, visible=False)
237
  generate_btn.click(song_cover_pipeline,
 
244
  outputs=[pitch, main_gain, backup_gain, inst_gain, index_rate, filter_radius, rms_mix_rate,
245
  protect, f0_method, crepe_hop_length, pitch_all, reverb_rm_size, reverb_wet,
246
  reverb_dry, reverb_damping, output_format, ai_cover])
247
+ debug_button.click(show_stored_files)
248
+
249
+
250
 
251
  # Download tab
252
  with gr.Tab('Download model'):