missing (
Browse files- mineru_single.py +1 -1
mineru_single.py
CHANGED
@@ -159,7 +159,7 @@ class ImageWriter(DataWriter):
|
|
159 |
|
160 |
def post_process(self, key: str, md_content: str) -> str:
|
161 |
max_workers = len(self.descriptions)
|
162 |
-
with concurrent.futures.ThreadPoolExecutor(max_workers=max(max_workers, 1) as executor:
|
163 |
future_to_file = {
|
164 |
executor.submit(
|
165 |
call_gemini_for_image_description,
|
|
|
159 |
|
160 |
def post_process(self, key: str, md_content: str) -> str:
|
161 |
max_workers = len(self.descriptions)
|
162 |
+
with concurrent.futures.ThreadPoolExecutor(max_workers=max(max_workers, 1)) as executor:
|
163 |
future_to_file = {
|
164 |
executor.submit(
|
165 |
call_gemini_for_image_description,
|