RamAnanth1 commited on
Commit
e46fd7d
1 Parent(s): c242bd5

Add pose example

Browse files
Files changed (1) hide show
  1. gradio_pose.py +9 -0
gradio_pose.py CHANGED
@@ -20,4 +20,13 @@ def create_demo(process):
20
  ips = [input_img,prompt, neg_prompt, fix_sample, scale, con_strength, base_model]
21
  run_button.click(fn=process, inputs=ips, outputs=[result])
22
 
 
 
 
 
 
 
 
 
 
23
  return block
 
20
  ips = [input_img,prompt, neg_prompt, fix_sample, scale, con_strength, base_model]
21
  run_button.click(fn=process, inputs=ips, outputs=[result])
22
 
23
+ examples_list = [["iron.png", "iron man, cyberpunk",
24
+ "ugly, tiling, poorly drawn hands, poorly drawn feet, poorly drawn face, out of frame, extra limbs, disfigured, deformed, body out of frame, bad anatomy, watermark, signature, cut off, low contrast, underexposed, overexposed, bad art, beginner, amateur, distorted face",
25
+ 0.4,
26
+ 7.5,
27
+ 'True',
28
+ 'sd-v1-4.ckpt']]
29
+
30
+ examples = gr.Examples(examples=examples_list,inputs = [input_img, prompt,neg_prompt, fix_sample, scale, con_strength,base_model], outputs = [result], cache_examples = True, fn = process)
31
+
32
  return block