Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
jbilcke-hf
/
ai-tube
like
281
Running
App
Files
Files
Community
9
09a7c47
ai-tube
/
src
/
lib
/
utils
/
pick.ts
jbilcke
working to improve the clap format
f42b4a1
8 months ago
raw
Copy download link
history
blame
Safe
88 Bytes
export
const
pick
= (
items:
string
[]
) => items[
Math
.
floor
(
Math
.
random
()*items.
length
)]