ai-comic-factory / src /config.ts
jbilcke-hf's picture
jbilcke-hf HF staff
let's use two pages
5dd2af5
raw
history blame
255 Bytes
import { getValidNumber } from "./lib/getValidNumber"
export const MAX_NB_PAGES = getValidNumber(process.env.NEXT_PUBLIC_MAX_NB_PAGES, 1, 2, 1)
// TODO: this one should be dynamic and depend upon the page layout type
export const NB_PANELS_PER_PAGE = 4