Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Duplicated from
jbilcke-hf/ai-comic-factory
Minecraft3193092
/
ai-manga-factory
like
6
Running
App
Files
Files
Community
c52f34d
ai-manga-factory
/
src
/
lib
/
pick.ts
jbilcke-hf
HF staff
initial commit
624088c
over 1 year ago
raw
Copy download link
history
blame
Safe
88 Bytes
export
const
pick
= (
items:
string
[]
) => items[
Math
.
floor
(
Math
.
random
()*items.
length
)]