yifehuang97 commited on
Commit
37677e6
·
1 Parent(s): d4c5923

(feat) add example

Browse files
Files changed (2) hide show
  1. app.py +1 -0
  2. examples/women.jpg +3 -0
app.py CHANGED
@@ -381,6 +381,7 @@ def create_demo():
381
  ["examples/strawberry.jpg", "strawberry and blueberry.", "strawberry."],
382
  ["examples/strawberry2.jpg", "strawberry and blueberry.", "strawberry."],
383
  ["examples/strawberry3.jpg", "strawberry and blueberry.", "strawberry."],
 
384
  ],
385
  inputs=[input_image, pos_caption, neg_caption],
386
  outputs=[output_image, count_output],
 
381
  ["examples/strawberry.jpg", "strawberry and blueberry.", "strawberry."],
382
  ["examples/strawberry2.jpg", "strawberry and blueberry.", "strawberry."],
383
  ["examples/strawberry3.jpg", "strawberry and blueberry.", "strawberry."],
384
+ ["examples/women.jpg", "person.", "woman."],
385
  ],
386
  inputs=[input_image, pos_caption, neg_caption],
387
  outputs=[output_image, count_output],
examples/women.jpg ADDED

Git LFS Details

  • SHA256: e31a2d72e55cca372740e311c630a290f32e82a0318ad2f34b3155bba60be6ff
  • Pointer size: 130 Bytes
  • Size of remote file: 25.5 kB