Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Duplicated from
jbilcke-hf/ai-comic-factory
DaenerysT
/
comicbook
like
5
Runtime error
App
Files
Files
Community
287a603
comicbook
/
src
/
lib
/
sleep.ts
jbilcke-hf
HF staff
fixed upscaling
f5d8038
over 1 year ago
raw
Copy download link
history
blame
Safe
150 Bytes
export
const
sleep
=
async
(
durationInMs:
number
) =>
new
Promise
(
(
resolve
) =>
{
setTimeout
(
() =>
{
resolve
(
true
)
}, durationInMs)
})