splatter-api / src /initFolders.mts
jbilcke-hf's picture
jbilcke-hf HF staff
quick test
c0bb512
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)
}