adaface-neurips commited on
Commit
0b38fab
1 Parent(s): 16810c9

add a dropdown menu of prebuilt prompts

Browse files
Files changed (1) hide show
  1. app.py +17 -3
app.py CHANGED
@@ -279,10 +279,24 @@ with gr.Blocks(css=css) as demo:
279
  with gr.Column(visible=True) as init_gen_button_column:
280
  gen_init = gr.Button(value="Generate 3 new init images")
281
 
282
- prompt = gr.Textbox(label="Prompt",
283
  info="Try something like 'man/woman walking on the beach'",
284
- placeholder="woman playing guitar on a boat, ocean waves")
285
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
286
  image_embed_scale = gr.Slider(
287
  label="Image Embedding Scale",
288
  info="The scale of the ID-Animator image embedding (influencing coarse facial features and poses)",
 
279
  with gr.Column(visible=True) as init_gen_button_column:
280
  gen_init = gr.Button(value="Generate 3 new init images")
281
 
282
+ prompt = gr.Dropdown(label="Prompt",
283
  info="Try something like 'man/woman walking on the beach'",
284
+ value=None,
285
+ allow_custom_value=True,
286
+ filterable=False,
287
+ choices=[
288
+ "woman ((best quality)), ((masterpiece)), ((realistic)), long highlighted hair, futuristic silver armor suit, confident stance, high-resolution, living room, smiling, head tilted, perfect smooth skin",
289
+ "woman walking on the beach, sunset, orange sky, bright lighting, ocean waves seagulls, rippling water, serene atmosphere, eye level shot",
290
+ "woman in a white apron and chef hat, garnishing a gourmet dish, full body view, long shot",
291
+ "woman dancing pose among folks in a park, waving hands",
292
+ "woman in iron man costume flying pose, the sky ablaze with hues of orange and purple, full body view, long shot",
293
+ "woman jedi wielding a lightsaber, star wars, full body view, eye level shot",
294
+ "woman playing guitar on a boat, ocean waves",
295
+ "woman with a passion for reading, curled up with a book in a cozy nook near a window",
296
+ "woman running pose in a park, eye level shot",
297
+ "woman in superman costume flying pose, the sky ablaze with hues of orange and purple, full body view, long shot"
298
+ ])
299
+
300
  image_embed_scale = gr.Slider(
301
  label="Image Embedding Scale",
302
  info="The scale of the ID-Animator image embedding (influencing coarse facial features and poses)",