Spaces:
Sleeping
Sleeping
Commit ·
0591d06
1
Parent(s): 79248f8
fix to post_merge
Browse files- post_merge.py +2 -0
post_merge.py
CHANGED
|
@@ -12,6 +12,8 @@ from dedup import DATASET_REPO_ID, compute_fingerprint, compute_sha256
|
|
| 12 |
|
| 13 |
logger = logging.getLogger(__name__)
|
| 14 |
|
|
|
|
|
|
|
| 15 |
|
| 16 |
def _list_data_dirs(api: HfApi) -> list[str]:
|
| 17 |
"""List top-level directory names under data/ (these become config/split names)."""
|
|
|
|
| 12 |
|
| 13 |
logger = logging.getLogger(__name__)
|
| 14 |
|
| 15 |
+
api = HfApi()
|
| 16 |
+
|
| 17 |
|
| 18 |
def _list_data_dirs(api: HfApi) -> list[str]:
|
| 19 |
"""List top-level directory names under data/ (these become config/split names)."""
|