Spaces:
Running
Running
Update src/covergen.py
Browse files- 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
|
| 168 |
-
with gr.Tab('
|
| 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(
|
|
|
|
| 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)
|