Kit-Lemonfoot commited on
Commit
9dee55a
1 Parent(s): 73c9dc8

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -452,6 +452,7 @@ if __name__ == '__main__':
452
  vc_combine = gr.Button("Combine",variant="primary", visible=False)
453
 
454
  vc_convert.click(
 
455
  fn=infer,
456
  inputs=[
457
  vc_name,
@@ -503,6 +504,6 @@ if __name__ == '__main__':
503
  ]
504
  )
505
  if limitation is True:
506
- app.queue(concurrency_count=1, max_size=20, api_open=config.api).launch(share=config.colab)
507
  else:
508
- app.queue(concurrency_count=1, max_size=20, api_open=config.api).launch(share=False)
 
452
  vc_combine = gr.Button("Combine",variant="primary", visible=False)
453
 
454
  vc_convert.click(
455
+ concurrency_count=1
456
  fn=infer,
457
  inputs=[
458
  vc_name,
 
504
  ]
505
  )
506
  if limitation is True:
507
+ app.queue(max_size=20, api_open=config.api).launch(share=config.colab)
508
  else:
509
+ app.queue(max_size=20, api_open=config.api).launch(share=False)