vegetable_classifier / utils /make_upload_dir.py
ksvmuralidhar's picture
Upload 15 files
530f5ca verified
from os import path, makedirs
from shutil import rmtree
def make_upload_dir(path_: str):
if path.exists(path_):
rmtree(path=path_, ignore_errors=True)
makedirs(path_)