Sync from GitHub via hub-sync
Browse files- tesseract-ocr.py +3 -3
tesseract-ocr.py
CHANGED
|
@@ -313,9 +313,9 @@ def main(
|
|
| 313 |
psm: int = 3,
|
| 314 |
oem: int = 3,
|
| 315 |
num_workers: int = 0,
|
| 316 |
-
hf_token: str = None,
|
| 317 |
split: str = "train",
|
| 318 |
-
max_samples: int = None,
|
| 319 |
private: bool = False,
|
| 320 |
shuffle: bool = False,
|
| 321 |
seed: int = 42,
|
|
@@ -323,7 +323,7 @@ def main(
|
|
| 323 |
overwrite: bool = False,
|
| 324 |
dry_run: bool = False,
|
| 325 |
verbose: bool = False,
|
| 326 |
-
config: str = None,
|
| 327 |
create_pr: bool = False,
|
| 328 |
):
|
| 329 |
"""Process images from an HF dataset through Tesseract OCR."""
|
|
|
|
| 313 |
psm: int = 3,
|
| 314 |
oem: int = 3,
|
| 315 |
num_workers: int = 0,
|
| 316 |
+
hf_token: str | None = None,
|
| 317 |
split: str = "train",
|
| 318 |
+
max_samples: int | None = None,
|
| 319 |
private: bool = False,
|
| 320 |
shuffle: bool = False,
|
| 321 |
seed: int = 42,
|
|
|
|
| 323 |
overwrite: bool = False,
|
| 324 |
dry_run: bool = False,
|
| 325 |
verbose: bool = False,
|
| 326 |
+
config: str | None = None,
|
| 327 |
create_pr: bool = False,
|
| 328 |
):
|
| 329 |
"""Process images from an HF dataset through Tesseract OCR."""
|