campose-api / src /initFolders.mts
jbilcke-hf's picture
jbilcke-hf HF staff
initial commit
5b3c62d
raw
history blame
296 Bytes
import {
inputsDirFilePath,
outputsDirFilePath,
} from "./config.mts"
import { createDirIfNeeded } from "./utils/createDirIfNeeded.mts"
export const initFolders = () => {
console.log(`initializing folders..`)
createDirIfNeeded(inputsDirFilePath)
createDirIfNeeded(outputsDirFilePath)
}