ai-lab-comic / src /lib /sleep.ts
jbilcke-hf's picture
jbilcke-hf HF staff
fixed upscaling
f5d8038
raw
history blame
150 Bytes
export const sleep = async (durationInMs: number) =>
new Promise((resolve) => {
setTimeout(() => {
resolve(true)
}, durationInMs)
})