Spaces:
Runtime error
Runtime error
Download python/common/mkdir.py from mediaparty2023/spoof-detect: direct link, hf CLI and curl.
- Browser
- Download file 151 Bytes
-
https://huggingface.co/spaces/mediaparty2023/spoof-detect/resolve/main/python/common/mkdir.py
- Command line
-
hf download hf://spaces/mediaparty2023/spoof-detect/python/common/mkdir.py
-
curl -L -o mkdir.py https://huggingface.co/spaces/mediaparty2023/spoof-detect/resolve/main/python/common/mkdir.py
151 Bytes
| import pathlib | |
| from typing import List | |
| def make_dirs(dirs: List[str]): | |
| for p in dirs: | |
| pathlib.Path(p).mkdir(parents=True, exist_ok=True) | |