Politrees commited on
Commit
5803d0a
β€’
1 Parent(s): 84ba748

Update src/covergen.py

Browse files
Files changed (1) hide show
  1. src/covergen.py +3 -3
src/covergen.py CHANGED
@@ -164,8 +164,8 @@ if __name__ == '__main__':
164
  compressor_ratio, compressor_threshold, low_shelf_gain, high_shelf_gain, noise_gate_threshold,
165
  noise_gate_ratio, noise_gate_attack, noise_gate_release])
166
 
167
- with gr.Tab('Model downloader'):
168
- with gr.Tab('download from Link'):
169
  with gr.Row():
170
  with gr.Column(variant='panel'):
171
  gr.HTML("<center><h3>Paste the link from <a href='https://huggingface.co/' target='_blank'>HuggingFace</a>, <a href='https://pixeldrain.com/' target='_blank'>Pixeldrain</a>, <a href='https://drive.google.com/' target='_blank'>Google Drive</a> or <a href='https://mega.nz/' target='_blank'>Mega</a> into the field below</h3></center>")
@@ -193,4 +193,4 @@ if __name__ == '__main__':
193
  local_upload_output_message = gr.Text(label='Output Message', interactive=False)
194
  model_upload_button.click(upload_zip_model, inputs=[zip_file, local_model_name], outputs=local_upload_output_message)
195
 
196
- app.launch(max_threads=512, quiet=True, show_error=True, show_api=False).queue(max_size=1022, default_concurrency_limit=1, api_open=False)
 
164
  compressor_ratio, compressor_threshold, low_shelf_gain, high_shelf_gain, noise_gate_threshold,
165
  noise_gate_ratio, noise_gate_attack, noise_gate_release])
166
 
167
+ with gr.Tab('Model Downloader'):
168
+ with gr.Tab('Download from Link'):
169
  with gr.Row():
170
  with gr.Column(variant='panel'):
171
  gr.HTML("<center><h3>Paste the link from <a href='https://huggingface.co/' target='_blank'>HuggingFace</a>, <a href='https://pixeldrain.com/' target='_blank'>Pixeldrain</a>, <a href='https://drive.google.com/' target='_blank'>Google Drive</a> or <a href='https://mega.nz/' target='_blank'>Mega</a> into the field below</h3></center>")
 
193
  local_upload_output_message = gr.Text(label='Output Message', interactive=False)
194
  model_upload_button.click(upload_zip_model, inputs=[zip_file, local_model_name], outputs=local_upload_output_message)
195
 
196
+ app.launch(show_api=False).queue(api_open=False)