Kit-Lemonfoot commited on
Commit
aa20739
1 Parent(s): 8f535ab

Upload app.py

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