jbilcke-hf's picture
jbilcke-hf HF staff
various improvements
bf6568f
raw
history blame contribute delete
907 Bytes
import { pick } from "./pick"
import { Agent, Scene } from "./types"
const actions = [
"waiting",
"jumping",
"eating a mouse",
"looking at camera",
"touch a rock",
"touching grass",
"drinking from a water hole"
]
const positions = [
"in the forest",
"in a plain",
"in front of a fox hole",
"in front of a bush"
]
const lights = [
"during the day",
]
const actionnables = [
"fox",
"ground",
"grass",
"water",
"tree",
"sky",
]
export const agent: Agent = {
title: "Fox",
type: "fox",
simulate: (): Scene => {
const action = pick(actions)
const position = pick(positions)
const light = pick(lights)
const prompt = [
`medium shot of a fox`,
action,
position,
light,
`high res`,
`documentary`,
].join(", ")
return {
action,
position,
light,
actionnables,
prompt
}
}
}