Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Mistral-AI-Game-Jam
/
ai-interactive-comic-book
like
73
Running
App
Files
Files
Community
3
Fetching metadata from the HF Docker repository...
dd2e4cf
ai-interactive-comic-book
/
ai-comic-factory
/
src
/
lib
/
pick.ts
M96820
feat: add ai-comic-factory
903fafb
about 1 month ago
raw
Copy download link
history
blame
Safe
88 Bytes
export
const
pick
= (
items:
string
[]
) => items[
Math
.
floor
(
Math
.
random
()*items.
length
)]