Update app.py
Browse files
app.py
CHANGED
@@ -537,7 +537,7 @@ if __name__ == "__main__":
|
|
537 |
|
538 |
with gr.Row():
|
539 |
weight_id_ip_str = gr.Textbox(
|
540 |
-
value="0-1:1/
|
541 |
label="weight_id_ip_str",
|
542 |
interactive=False, visible=False
|
543 |
)
|
@@ -612,22 +612,32 @@ if __name__ == "__main__":
|
|
612 |
"ENT1 with long curly hair wearing ENT2 at Met Gala",
|
613 |
"sample/woman2.jpg", "a woman",
|
614 |
"sample/dress.jpg", "a dress",
|
|
|
615 |
],
|
616 |
[
|
617 |
"ENT1 wearing a tiny hat",
|
618 |
"sample/hamster.jpg", "a hamster",
|
619 |
-
None, None
|
|
|
620 |
],
|
621 |
[
|
622 |
"a drawing of ENT1 and ENT2 that the ENT1 is running alongside of a giant ENT2, in style of a comic book",
|
623 |
"sample/woman.jpg", "a woman",
|
624 |
"sample/hamster.jpg", "a hamster",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
625 |
],
|
626 |
],
|
627 |
inputs=[
|
628 |
prompt,
|
629 |
images[0], captions[0],
|
630 |
images[1], captions[1],
|
|
|
631 |
],
|
632 |
outputs=[output, final_text],
|
633 |
fn=generate_image,
|
|
|
537 |
|
538 |
with gr.Row():
|
539 |
weight_id_ip_str = gr.Textbox(
|
540 |
+
value="0-1:1/1.6/5",
|
541 |
label="weight_id_ip_str",
|
542 |
interactive=False, visible=False
|
543 |
)
|
|
|
612 |
"ENT1 with long curly hair wearing ENT2 at Met Gala",
|
613 |
"sample/woman2.jpg", "a woman",
|
614 |
"sample/dress.jpg", "a dress",
|
615 |
+
None, None,
|
616 |
],
|
617 |
[
|
618 |
"ENT1 wearing a tiny hat",
|
619 |
"sample/hamster.jpg", "a hamster",
|
620 |
+
None, None,
|
621 |
+
None, None,
|
622 |
],
|
623 |
[
|
624 |
"a drawing of ENT1 and ENT2 that the ENT1 is running alongside of a giant ENT2, in style of a comic book",
|
625 |
"sample/woman.jpg", "a woman",
|
626 |
"sample/hamster.jpg", "a hamster",
|
627 |
+
None, None,
|
628 |
+
],
|
629 |
+
[
|
630 |
+
"ENT1 with ENT2 holding ENT3",
|
631 |
+
"sample/sam.jpg", "a man",
|
632 |
+
"sample/hair.jpg", "curly hair",
|
633 |
+
"sample/can.jpg", "a can",
|
634 |
],
|
635 |
],
|
636 |
inputs=[
|
637 |
prompt,
|
638 |
images[0], captions[0],
|
639 |
images[1], captions[1],
|
640 |
+
images[2], captions[2],
|
641 |
],
|
642 |
outputs=[output, final_text],
|
643 |
fn=generate_image,
|