Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
jbilcke-hf
/
ai-bedtime-story
like
88
Paused
App
Files
Files
Community
5
7b5fc2b
ai-bedtime-story
/
src
/
lib
/
generateSeed.ts
jbilcke-hf
HF staff
initial commit π
fecef05
12 months ago
raw
Copy download link
history
blame
Safe
88 Bytes
export
function
generateSeed
(
) {
return
Math
.
floor
(
Math
.
random
() *
Math
.
pow
(
2
,
31
));
}