Politrees Blane187 commited on
Commit
60b1f88
β€’
1 Parent(s): 4647157

change little bit (#5)

Browse files

- change little bit (5905ec36a61f7780d5701e885575aceb57dd516a)


Co-authored-by: Rico Ardiansyah <Blane187@users.noreply.huggingface.co>

Files changed (1) hide show
  1. src/covergen.py +4 -4
src/covergen.py CHANGED
@@ -225,8 +225,8 @@ if __name__ == '__main__':
225
  compressor_ratio, compressor_threshold, low_shelf_gain, high_shelf_gain, noise_gate_threshold,
226
  noise_gate_ratio, noise_gate_attack, noise_gate_release])
227
 
228
- with gr.Tab('Model Downloader'):
229
- with gr.Tab('Download from Link'):
230
  with gr.Row():
231
  with gr.Column(variant='panel'):
232
  gr.HTML("<center><h3>Enter a link to the ZIP archive in the field below.</h3></center>")
@@ -241,7 +241,7 @@ if __name__ == '__main__':
241
  dl_output_message = gr.Text(label='Output Message', interactive=False)
242
  download_btn.click(download_from_url, inputs=[model_zip_link, model_name], outputs=dl_output_message)
243
 
244
- with gr.Tab('Upload a ZIP archive'):
245
  with gr.Row(equal_height=False):
246
  with gr.Column(variant='panel'):
247
  zip_file = gr.File(label='Zip File', file_types=['.zip'], file_count='single')
@@ -256,7 +256,7 @@ if __name__ == '__main__':
256
  local_upload_output_message = gr.Text(label='Output Message', interactive=False)
257
  model_upload_button.click(upload_zip_model, inputs=[zip_file, local_model_name], outputs=local_upload_output_message)
258
 
259
- with gr.Tab('Upload files'):
260
  with gr.Group():
261
  with gr.Row():
262
  pth_file = gr.File(label='.pth file', file_types=['.pth'], file_count='single')
 
225
  compressor_ratio, compressor_threshold, low_shelf_gain, high_shelf_gain, noise_gate_threshold,
226
  noise_gate_ratio, noise_gate_attack, noise_gate_release])
227
 
228
+ with gr.Tab('RVC Model Options'):
229
+ with gr.Tab('Download Models from Link'):
230
  with gr.Row():
231
  with gr.Column(variant='panel'):
232
  gr.HTML("<center><h3>Enter a link to the ZIP archive in the field below.</h3></center>")
 
241
  dl_output_message = gr.Text(label='Output Message', interactive=False)
242
  download_btn.click(download_from_url, inputs=[model_zip_link, model_name], outputs=dl_output_message)
243
 
244
+ with gr.Tab('Upload a ZIP archive Models'):
245
  with gr.Row(equal_height=False):
246
  with gr.Column(variant='panel'):
247
  zip_file = gr.File(label='Zip File', file_types=['.zip'], file_count='single')
 
256
  local_upload_output_message = gr.Text(label='Output Message', interactive=False)
257
  model_upload_button.click(upload_zip_model, inputs=[zip_file, local_model_name], outputs=local_upload_output_message)
258
 
259
+ with gr.Tab('Upload files Models'):
260
  with gr.Group():
261
  with gr.Row():
262
  pth_file = gr.File(label='.pth file', file_types=['.pth'], file_count='single')