Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
jbilcke-hf
/
ai-clip-factory
like
174
Paused
App
Files
Files
Community
7
d6eda94
ai-clip-factory
/
src
/
lib
/
pick.ts
jbilcke-hf
HF staff
initial commit
9a42933
about 1 year ago
raw
Copy download link
history
blame
Safe
88 Bytes
export
const
pick
= (
items:
string
[]
) => items[
Math
.
floor
(
Math
.
random
()*items.
length
)]