Update app.py
Browse files
app.py
CHANGED
@@ -224,11 +224,5 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
224 |
#demo.launch(share=True, ssr_mode=False)
|
225 |
|
226 |
if __name__ == "__main__":
|
227 |
-
|
228 |
-
|
229 |
-
max_size = 40, # 40-6 = 34 jobs can wait in line
|
230 |
-
api_open = False # no public /queue/status endpoint
|
231 |
-
).launch(
|
232 |
-
share = True,
|
233 |
-
ssr_mode = False
|
234 |
-
)
|
|
|
224 |
#demo.launch(share=True, ssr_mode=False)
|
225 |
|
226 |
if __name__ == "__main__":
|
227 |
+
# first positional argument = concurrency_count
|
228 |
+
demo.queue(8).launch(share=True, ssr_mode=False)
|
|
|
|
|
|
|
|
|
|
|
|