Spaces:
Running
Running
Update working_yolo_pipeline.py
Browse files- working_yolo_pipeline.py +1 -1
working_yolo_pipeline.py
CHANGED
|
@@ -2990,7 +2990,7 @@ def run_document_pipeline(input_pdf_path: str, layoutlmv3_model_path: str, struc
|
|
| 2990 |
eq_count = globals().get('GLOBAL_EQUATION_COUNT', 0)
|
| 2991 |
|
| 2992 |
# Adjust these multipliers based on your pipeline's actual processing speed
|
| 2993 |
-
est_time_seconds = (page_count *
|
| 2994 |
|
| 2995 |
yield {
|
| 2996 |
"status": "estimating",
|
|
|
|
| 2990 |
eq_count = globals().get('GLOBAL_EQUATION_COUNT', 0)
|
| 2991 |
|
| 2992 |
# Adjust these multipliers based on your pipeline's actual processing speed
|
| 2993 |
+
est_time_seconds = (page_count * 2) + (fig_count * 1) + (eq_count * 4)
|
| 2994 |
|
| 2995 |
yield {
|
| 2996 |
"status": "estimating",
|