linoyts HF Staff commited on
Commit
27889f6
·
verified ·
1 Parent(s): 4f82a37

Example prompts aligned to the reference images (preserve subject identity)

Browse files
Files changed (1) hide show
  1. app.py +9 -9
app.py CHANGED
@@ -80,15 +80,15 @@ def build_h3_prompt(subject: str, scene: str, soundscape: str, music: str, n_img
80
  # Structured examples (subject, scene, soundscape, music, image) — they inherit
81
  # the recommended 768p resolution from DEFAULT_RES.
82
  EXAMPLES = [
83
- ["a woman with long hair in a light summer dress",
84
- "stands in a sunlit meadow and turns to smile at the camera, her hair moving in a gentle breeze.",
85
- "soft birdsong and quiet wind", "none", "examples/woman.jpg"],
86
- ["a golden-brown dog",
87
- "trots across a grassy park chasing a ball, tail wagging, in bright daylight.",
88
- "happy barking and a light breeze", "none", "examples/dog.jpg"],
89
- ["a slice of layered cake on a white plate",
90
- "rests on a cafe table in soft daylight as a fork gently lifts a bite, steam-free and glistening.",
91
- "quiet cafe chatter and the soft clink of a fork", "calm acoustic guitar", "examples/cake.jpg"],
92
  ]
93
 
94
  # --- engine (built lazily inside the first GPU window) ----------------------
 
80
  # Structured examples (subject, scene, soundscape, music, image) — they inherit
81
  # the recommended 768p resolution from DEFAULT_RES.
82
  EXAMPLES = [
83
+ ["a young woman with a dark curly afro and gold hoop earrings, wearing a white ribbed t-shirt and blue jeans",
84
+ "stands in front of the grey industrial wall and turns her head toward the camera with a warm smile, her curls shifting slightly in the breeze.",
85
+ "quiet outdoor city ambience and a soft breeze", "none", "examples/woman.jpg"],
86
+ ["a pale cream, fluffy long-haired dog with floppy ears and a dark nose",
87
+ "stands on the grassy riverbank on an overcast day, panting with its tongue out, then turns its head and takes a step toward the camera.",
88
+ "soft wind, distant water and gentle panting", "none", "examples/dog.jpg"],
89
+ ["a whole chocolate layer cake with chocolate frosting, pastel sprinkles and chocolate shards on top, on a grey plate on a wooden cake stand",
90
+ "sits on the stand against a plain pale wall as the camera slowly pushes in, the sprinkles and glossy frosting catching the soft light.",
91
+ "quiet room tone", "soft light background music", "examples/cake.jpg"],
92
  ]
93
 
94
  # --- engine (built lazily inside the first GPU window) ----------------------