Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
jbilcke-hf
/
ai-tube
like
269
Running
on
CPU Upgrade
App
Files
Files
Community
9
cf329f1
ai-tube
/
src
/
lib
/
utils
/
sleep.ts
jbilcke
working to improve the clap format
f42b4a1
5 months ago
raw
Copy download link
history
blame
No virus
150 Bytes
export
const
sleep
=
async
(
durationInMs:
number
) =>
new
Promise
(
(
resolve
) =>
{
setTimeout
(
() =>
{
resolve
(
true
)
}, durationInMs)
})