fix gradio update
Browse files
app.py
CHANGED
@@ -502,6 +502,6 @@ if __name__ == '__main__':
|
|
502 |
]
|
503 |
)
|
504 |
if limitation is True:
|
505 |
-
app.queue(
|
506 |
else:
|
507 |
-
app.queue(
|
|
|
502 |
]
|
503 |
)
|
504 |
if limitation is True:
|
505 |
+
app.queue(max_size=20, api_open=config.api).launch(share=config.colab, max_threads=1)
|
506 |
else:
|
507 |
+
app.queue(max_size=20, api_open=config.api).launch(share=True, max_threads=1)
|