Florent Gbelidji commited on
Sync DeepSeek OCR HF job code
Browse files- ds_batch_ocr/hf_io.py +2 -2
ds_batch_ocr/hf_io.py
CHANGED
|
@@ -72,7 +72,7 @@ def resolve_stage_dir(base_dir: Path, locator: ArtifactLocator) -> Path:
|
|
| 72 |
|
| 73 |
manifest_path = locate_manifest(base_dir)
|
| 74 |
if manifest_path:
|
| 75 |
-
return
|
| 76 |
|
| 77 |
strategy = (locator.strategy or "local").lower()
|
| 78 |
if strategy == "local":
|
|
@@ -87,7 +87,7 @@ def resolve_stage_dir(base_dir: Path, locator: ArtifactLocator) -> Path:
|
|
| 87 |
|
| 88 |
manifest_path = locate_manifest(base_dir)
|
| 89 |
if manifest_path:
|
| 90 |
-
return
|
| 91 |
|
| 92 |
outputs_dir = base_dir / "outputs"
|
| 93 |
outputs_manifest = locate_manifest(outputs_dir)
|
|
|
|
| 72 |
|
| 73 |
manifest_path = locate_manifest(base_dir)
|
| 74 |
if manifest_path:
|
| 75 |
+
return base_dir
|
| 76 |
|
| 77 |
strategy = (locator.strategy or "local").lower()
|
| 78 |
if strategy == "local":
|
|
|
|
| 87 |
|
| 88 |
manifest_path = locate_manifest(base_dir)
|
| 89 |
if manifest_path:
|
| 90 |
+
return base_dir
|
| 91 |
|
| 92 |
outputs_dir = base_dir / "outputs"
|
| 93 |
outputs_manifest = locate_manifest(outputs_dir)
|