jiadisu commited on
Commit
656aab0
·
1 Parent(s): 8820f69

Add default example prompt

Browse files
Files changed (1) hide show
  1. app.py +15 -2
app.py CHANGED
@@ -65,10 +65,23 @@ with gr.Blocks(title=TITLE, theme=gr.themes.Soft()) as demo:
65
  type="pil",
66
  height=300,
67
  )
 
 
 
 
 
 
 
 
 
 
 
 
 
68
  prompt_input = gr.Textbox(
69
  label="Prompt",
70
- placeholder="Describe the scene you want to generate …",
71
- lines=4,
72
  )
73
  with gr.Row():
74
  seed_input = gr.Number(
 
65
  type="pil",
66
  height=300,
67
  )
68
+ _example_prompt = (
69
+ 'A little girl, approximately five years old, with curly blonde hair tied in two pigtails, '
70
+ 'wearing a bright yellow raincoat and red rubber boots, jumps into a large puddle on a suburban '
71
+ 'sidewalk. Water splashes up around her legs. She lets out a high-pitched, delighted squeal and '
72
+ 'claps her hands together. She looks up at the camera with wide, sparkling eyes and says in an '
73
+ 'excited, breathless voice, "Mommy, look! I made a big splash!" She jumps again, this time with '
74
+ 'both feet, creating an even bigger splash. Her laughter rings out, pure and unrestrained. Rain '
75
+ 'falls lightly around her, visible against the overcast sky. A row of houses with green lawns '
76
+ 'lines the background, slightly blurred. The scene is captured in a slightly low-angle medium '
77
+ 'shot, emphasizing her small stature against the grey sky. '
78
+ 'Dialogue: <Little girl in yellow raincoat, English>: "Mommy, look! I made a big splash!" '
79
+ 'Background Sound: <Light rain falling, splashing water, distant suburban ambiance>'
80
+ )
81
  prompt_input = gr.Textbox(
82
  label="Prompt",
83
+ value=_example_prompt,
84
+ lines=6,
85
  )
86
  with gr.Row():
87
  seed_input = gr.Number(