Politrees commited on
Commit
2cb1248
β€’
1 Parent(s): 12eb621

Update src/covergen.py

Browse files
Files changed (1) hide show
  1. src/covergen.py +11 -2
src/covergen.py CHANGED
@@ -27,7 +27,16 @@ elif warning == 'False':
27
  if __name__ == '__main__':
28
  voice_models = ignore_files(rvc_models_dir)
29
 
30
- with gr.Blocks(title='CoverGen Lite - Politrees', theme=gr.themes.Soft(primary_hue="green", secondary_hue="green", neutral_hue="neutral", spacing_size="sm", radius_size="lg")) as app:
 
 
 
 
 
 
 
 
 
31
 
32
  if warning:
33
  with gr.Column(variant='panel'):
@@ -260,4 +269,4 @@ if __name__ == '__main__':
260
  separate_upload_output_message = gr.Text(label='Output Message', interactive=False)
261
  separate_upload_button.click(upload_separate_files, inputs=[pth_file, index_file, separate_model_name], outputs=separate_upload_output_message)
262
 
263
- app.launch(share=True, show_api=False).queue(api_open=False)
 
27
  if __name__ == '__main__':
28
  voice_models = ignore_files(rvc_models_dir)
29
 
30
+ with gr.Blocks(
31
+ title="CoverGen Lite - Politrees",
32
+ css="footer{display:none !important}",
33
+ theme=gr.themes.Soft(
34
+ primary_hue="green",
35
+ secondary_hue="green",
36
+ neutral_hue="neutral",
37
+ spacing_size="sm",
38
+ radius_size="lg",
39
+ )) as app:
40
 
41
  if warning:
42
  with gr.Column(variant='panel'):
 
269
  separate_upload_output_message = gr.Text(label='Output Message', interactive=False)
270
  separate_upload_button.click(upload_separate_files, inputs=[pth_file, index_file, separate_model_name], outputs=separate_upload_output_message)
271
 
272
+ app.launch(share=True)