Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -387,7 +387,7 @@ with gr.Blocks(
|
|
387 |
# block.load(update_buff, [buff_var], [buff_var, buff], every=1)
|
388 |
|
389 |
# concurrency_count=5, max_size=20
|
390 |
-
#
|
391 |
# CPU cpu_count=2 16G, model 7G
|
392 |
# CPU UPGRADE cpu_count=8 32G, model 7G
|
393 |
|
@@ -401,7 +401,7 @@ else:
|
|
401 |
# concurrency_count = max(int(16 / file_size) - 1, 1)
|
402 |
# """
|
403 |
|
404 |
-
concurrency_count =
|
405 |
logger.info(f"{concurrency_count=}")
|
406 |
|
407 |
-
block.queue(concurrency_count=concurrency_count, max_size=
|
|
|
387 |
# block.load(update_buff, [buff_var], [buff_var, buff], every=1)
|
388 |
|
389 |
# concurrency_count=5, max_size=20
|
390 |
+
# concurrency_count=14, max_size=36
|
391 |
# CPU cpu_count=2 16G, model 7G
|
392 |
# CPU UPGRADE cpu_count=8 32G, model 7G
|
393 |
|
|
|
401 |
# concurrency_count = max(int(16 / file_size) - 1, 1)
|
402 |
# """
|
403 |
|
404 |
+
concurrency_count = 14
|
405 |
logger.info(f"{concurrency_count=}")
|
406 |
|
407 |
+
block.queue(concurrency_count=concurrency_count, max_size=36).launch(debug=True)
|