taprosoft
commited on
Commit
·
00d4478
1
Parent(s):
679bb44
fix: concurrency limit
Browse files- app.py +1 -1
- backends/__init__.py +1 -1
app.py
CHANGED
|
@@ -381,7 +381,7 @@ with gr.Blocks(
|
|
| 381 |
outputs=visualization_sub_tabs,
|
| 382 |
)
|
| 383 |
|
| 384 |
-
demo.queue(default_concurrency_limit=
|
| 385 |
show_error=True,
|
| 386 |
max_file_size="50mb",
|
| 387 |
)
|
|
|
|
| 381 |
outputs=visualization_sub_tabs,
|
| 382 |
)
|
| 383 |
|
| 384 |
+
demo.queue(default_concurrency_limit=1).launch(
|
| 385 |
show_error=True,
|
| 386 |
max_file_size="50mb",
|
| 387 |
)
|
backends/__init__.py
CHANGED
|
@@ -28,10 +28,10 @@ SUPPORTED_METHODS = [
|
|
| 28 |
"Marker",
|
| 29 |
"MinerU",
|
| 30 |
"Unstructured",
|
|
|
|
| 31 |
"Gemini (API)",
|
| 32 |
"Img2Table (table-only)",
|
| 33 |
"GMFT (table-only)",
|
| 34 |
-
"Sycamore",
|
| 35 |
# "Zerox"
|
| 36 |
]
|
| 37 |
SUPPORTED_METHODS_METADATA = {
|
|
|
|
| 28 |
"Marker",
|
| 29 |
"MinerU",
|
| 30 |
"Unstructured",
|
| 31 |
+
"Sycamore",
|
| 32 |
"Gemini (API)",
|
| 33 |
"Img2Table (table-only)",
|
| 34 |
"GMFT (table-only)",
|
|
|
|
| 35 |
# "Zerox"
|
| 36 |
]
|
| 37 |
SUPPORTED_METHODS_METADATA = {
|