meisaicheck-api / utils.py
vumichien's picture
update project structure
b77c0a2
raw
history blame contribute delete
216 Bytes
import os
from config import DATA_DIR, UPLOAD_DIR, OUTPUT_DIR
def create_directories():
os.makedirs(DATA_DIR, exist_ok=True)
os.makedirs(UPLOAD_DIR, exist_ok=True)
os.makedirs(OUTPUT_DIR, exist_ok=True)