fix error.
Browse files
src/submission/check_validity.py
CHANGED
|
@@ -14,6 +14,7 @@ from huggingface_hub import hf_hub_download, HfFileSystem
|
|
| 14 |
from huggingface_hub.utils import validate_repo_id
|
| 15 |
from pathlib import Path
|
| 16 |
import fnmatch
|
|
|
|
| 17 |
|
| 18 |
|
| 19 |
# ht to @Wauplin, thank you for the snippet!
|
|
|
|
| 14 |
from huggingface_hub.utils import validate_repo_id
|
| 15 |
from pathlib import Path
|
| 16 |
import fnmatch
|
| 17 |
+
from huggingface_hub.hf_api import get_hf_file_metadata, hf_hub_url
|
| 18 |
|
| 19 |
|
| 20 |
# ht to @Wauplin, thank you for the snippet!
|