Spaces:
Running
Running
Kit-Lemonfoot
commited on
Commit
•
9dee55a
1
Parent(s):
73c9dc8
Upload app.py
Browse files
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(
|
507 |
else:
|
508 |
-
app.queue(
|
|
|
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)
|