Spaces:
Sleeping
Sleeping
| """ | |
| ํ์ผ ๊ธฐ๋ณธ ์ฒ๋ฆฌ ์ ํธ๋ฆฌํฐ | |
| """ | |
| import os | |
| from typing import Dict, Any | |
| def ensure_directory_exists(dir_path: str) -> None: | |
| """ | |
| ๋๋ ํ ๋ฆฌ๊ฐ ์์ผ๋ฉด ์์ฑ | |
| Args: | |
| dir_path: ์์ฑํ ๋๋ ํ ๋ฆฌ ๊ฒฝ๋ก | |
| """ | |
| if not os.path.exists(dir_path): | |
| os.makedirs(dir_path) | |
| print(f"๋๋ ํ ๋ฆฌ ์์ฑ: {dir_path}") |