Spaces:
Sleeping
Sleeping
added id
Browse files
src/htr_pipeline/utils/pipeline_inferencer.py
CHANGED
@@ -100,7 +100,9 @@ class PipelineInferencer:
|
|
100 |
remaining_lines = total_lines_len - index - 1
|
101 |
|
102 |
if (index + 1) % 10 == 0 and remaining_lines > 5: # +1 because index starts at 0
|
103 |
-
gr.Info(
|
|
|
|
|
104 |
|
105 |
return text_lines, htr_scores
|
106 |
|
|
|
100 |
remaining_lines = total_lines_len - index - 1
|
101 |
|
102 |
if (index + 1) % 10 == 0 and remaining_lines > 5: # +1 because index starts at 0
|
103 |
+
gr.Info(
|
104 |
+
f"Region {id_number}, parsed {index + 1} lines. Still {remaining_lines} lines left to transcribe."
|
105 |
+
)
|
106 |
|
107 |
return text_lines, htr_scores
|
108 |
|