Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -478,27 +478,19 @@ def create_demo():
|
|
| 478 |
gr.Markdown("## 📚 Examples")
|
| 479 |
example_inps = [
|
| 480 |
[
|
| 481 |
-
'example_inputs/
|
| 482 |
None,
|
| 483 |
'ip',
|
| 484 |
'ip',
|
| 485 |
-
'
|
| 486 |
-
9180879731249039735,
|
| 487 |
-
],
|
| 488 |
-
[
|
| 489 |
-
'example_inputs/man1.png',
|
| 490 |
-
None,
|
| 491 |
-
'ip',
|
| 492 |
-
'ip',
|
| 493 |
-
'a man sitting on the cloud, playing guitar',
|
| 494 |
1206523688721442817,
|
| 495 |
],
|
| 496 |
[
|
| 497 |
'example_inputs/toy1.png',
|
| 498 |
None,
|
|
|
|
| 499 |
'ip',
|
| 500 |
-
'
|
| 501 |
-
'a purple toy holding a sign saying "DreamO", on the mountain',
|
| 502 |
10441727852953907380,
|
| 503 |
],
|
| 504 |
[
|
|
@@ -510,11 +502,11 @@ def create_demo():
|
|
| 510 |
116150031980664704,
|
| 511 |
],
|
| 512 |
[
|
| 513 |
-
'example_inputs/
|
| 514 |
None,
|
| 515 |
'id',
|
| 516 |
'ip',
|
| 517 |
-
'portrait,
|
| 518 |
5443415087540486371,
|
| 519 |
],
|
| 520 |
[
|
|
@@ -557,22 +549,6 @@ def create_demo():
|
|
| 557 |
'two dogs in the jungle',
|
| 558 |
6187006025405083344,
|
| 559 |
],
|
| 560 |
-
[
|
| 561 |
-
'example_inputs/woman3.png',
|
| 562 |
-
'example_inputs/cat.png',
|
| 563 |
-
'ip',
|
| 564 |
-
'ip',
|
| 565 |
-
'A girl rides a giant cat, walking in the noisy modern city. High definition, realistic, non-cartoonish. Excellent photography work, 8k high definition.', # noqa E501
|
| 566 |
-
11980469406460273604,
|
| 567 |
-
],
|
| 568 |
-
[
|
| 569 |
-
'example_inputs/man2.jpeg',
|
| 570 |
-
'example_inputs/woman4.jpeg',
|
| 571 |
-
'ip',
|
| 572 |
-
'ip',
|
| 573 |
-
'a man is dancing with a woman in the room',
|
| 574 |
-
8303780338601106219,
|
| 575 |
-
],
|
| 576 |
]
|
| 577 |
gr.Examples(
|
| 578 |
examples=example_inps,
|
|
|
|
| 478 |
gr.Markdown("## 📚 Examples")
|
| 479 |
example_inps = [
|
| 480 |
[
|
| 481 |
+
'example_inputs/choi.jpg',
|
| 482 |
None,
|
| 483 |
'ip',
|
| 484 |
'ip',
|
| 485 |
+
'a woman sitting on the cloud, playing guitar',
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 486 |
1206523688721442817,
|
| 487 |
],
|
| 488 |
[
|
| 489 |
'example_inputs/toy1.png',
|
| 490 |
None,
|
| 491 |
+
'id',
|
| 492 |
'ip',
|
| 493 |
+
'a woman holding a sign saying "TOP", on the mountain',
|
|
|
|
| 494 |
10441727852953907380,
|
| 495 |
],
|
| 496 |
[
|
|
|
|
| 502 |
116150031980664704,
|
| 503 |
],
|
| 504 |
[
|
| 505 |
+
'example_inputs/choi.jpg',
|
| 506 |
None,
|
| 507 |
'id',
|
| 508 |
'ip',
|
| 509 |
+
'portrait, wonder woman',
|
| 510 |
5443415087540486371,
|
| 511 |
],
|
| 512 |
[
|
|
|
|
| 549 |
'two dogs in the jungle',
|
| 550 |
6187006025405083344,
|
| 551 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 552 |
]
|
| 553 |
gr.Examples(
|
| 554 |
examples=example_inps,
|