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