Spaces:
Sleeping
Sleeping
File size: 376 Bytes
bd65e34 4f65b83 bd65e34 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
from pathlib import Path
TMP = Path("tmp").absolute()
OUT = Path("out").absolute()
DOWNLOADED = Path("downloaded").absolute()
CONVERTED = Path("converted").absolute()
CHECKPOINTS = Path("ckpts").absolute()
_ALL_PATHS = [TMP, OUT, DOWNLOADED, CONVERTED, CHECKPOINTS]
def create_default_folders():
for path in _ALL_PATHS:
path.mkdir(parents=True, exist_ok=True)
|