Spaces:
Running
on
Zero
Running
on
Zero
update demo
Browse files
app.py
CHANGED
|
@@ -134,14 +134,13 @@ def run(
|
|
| 134 |
image.save(f"{image_name}_{i}{ext}")
|
| 135 |
return output_image
|
| 136 |
|
| 137 |
-
|
| 138 |
def get_example():
|
| 139 |
-
|
| 140 |
[
|
| 141 |
"The sun rises slightly, the dew on the rose petals in the garden is clear, a crystal ladybug is crawling to the dew, the background is the early morning garden, macro lens.",
|
| 142 |
1024,
|
| 143 |
1024,
|
| 144 |
-
|
| 145 |
50,
|
| 146 |
None,
|
| 147 |
None,
|
|
@@ -160,7 +159,7 @@ def get_example():
|
|
| 160 |
"A snow maiden with pale translucent skin, frosty white lashes, and a soft expression of longing",
|
| 161 |
1024,
|
| 162 |
1024,
|
| 163 |
-
|
| 164 |
50,
|
| 165 |
None,
|
| 166 |
None,
|
|
@@ -179,7 +178,7 @@ def get_example():
|
|
| 179 |
"Add a fisherman hat to the woman's head",
|
| 180 |
1024,
|
| 181 |
1024,
|
| 182 |
-
|
| 183 |
50,
|
| 184 |
os.path.join(ROOT_DIR, "example_images/flux5.png"),
|
| 185 |
None,
|
|
@@ -198,7 +197,7 @@ def get_example():
|
|
| 198 |
" replace the sword with a hammer.",
|
| 199 |
1024,
|
| 200 |
1024,
|
| 201 |
-
|
| 202 |
50,
|
| 203 |
os.path.join(
|
| 204 |
ROOT_DIR,
|
|
@@ -221,7 +220,7 @@ def get_example():
|
|
| 221 |
# "Transform the sculpture into jade",
|
| 222 |
1024,
|
| 223 |
1024,
|
| 224 |
-
|
| 225 |
50,
|
| 226 |
os.path.join(
|
| 227 |
ROOT_DIR, "example_images/46e79704-c88e-4e68-97b4-b4c40cd29826.png"
|
|
@@ -242,7 +241,7 @@ def get_example():
|
|
| 242 |
"Make he smile",
|
| 243 |
1024,
|
| 244 |
1024,
|
| 245 |
-
|
| 246 |
50,
|
| 247 |
os.path.join(
|
| 248 |
ROOT_DIR, "example_images/vicky-hladynets-C8Ta0gwPbQg-unsplash.jpg"
|
|
@@ -263,7 +262,7 @@ def get_example():
|
|
| 263 |
"Change the background to classroom",
|
| 264 |
1024,
|
| 265 |
1024,
|
| 266 |
-
|
| 267 |
50,
|
| 268 |
os.path.join(ROOT_DIR, "example_images/ComfyUI_temp_mllvz_00071_.png"),
|
| 269 |
None,
|
|
@@ -282,7 +281,7 @@ def get_example():
|
|
| 282 |
"Raise his hand",
|
| 283 |
1024,
|
| 284 |
1024,
|
| 285 |
-
|
| 286 |
50,
|
| 287 |
os.path.join(
|
| 288 |
ROOT_DIR,
|
|
@@ -304,7 +303,7 @@ def get_example():
|
|
| 304 |
"Generate a photo of an anime-style figurine placed on a desk. The figurine model should be based on the character photo provided in the attachment, accurately replicating the full-body pose, facial expression, and clothing style of the character in the photo, ensuring the entire figurine is fully presented. The overall design should be exquisite and detailed, soft gradient colors and a delicate texture, leaning towards a Japanese anime style, rich in details, with a realistic quality and beautiful visual appeal.",
|
| 305 |
1024,
|
| 306 |
1024,
|
| 307 |
-
|
| 308 |
50,
|
| 309 |
os.path.join(ROOT_DIR, "example_images/RAL_0315.JPG"),
|
| 310 |
None,
|
|
@@ -323,7 +322,7 @@ def get_example():
|
|
| 323 |
"Change the dress to blue.",
|
| 324 |
1024,
|
| 325 |
1024,
|
| 326 |
-
|
| 327 |
50,
|
| 328 |
os.path.join(ROOT_DIR, "example_images/1.png"),
|
| 329 |
None,
|
|
@@ -342,7 +341,7 @@ def get_example():
|
|
| 342 |
"Remove the cat",
|
| 343 |
1024,
|
| 344 |
1024,
|
| 345 |
-
|
| 346 |
50,
|
| 347 |
os.path.join(
|
| 348 |
ROOT_DIR,
|
|
@@ -364,7 +363,7 @@ def get_example():
|
|
| 364 |
"In a cozy café, the anime figure is sitting in front of a laptop, smiling confidently.",
|
| 365 |
1024,
|
| 366 |
1024,
|
| 367 |
-
|
| 368 |
50,
|
| 369 |
os.path.join(ROOT_DIR, "example_images/ComfyUI_00254_.png"),
|
| 370 |
None,
|
|
@@ -383,7 +382,7 @@ def get_example():
|
|
| 383 |
"Create a wedding figure based on the girl in the first image and the man in the second image. Set the background as a wedding hall, with the man dressed in a suit and the girl in a white wedding dress. Ensure that the original faces remain unchanged and are accurately preserved. The man should adopt a realistic style, whereas the girl should maintain their classic anime style.",
|
| 384 |
1024,
|
| 385 |
1024,
|
| 386 |
-
|
| 387 |
50,
|
| 388 |
os.path.join(ROOT_DIR, "example_images/1_20241127203215.png"),
|
| 389 |
os.path.join(ROOT_DIR, "example_images/000050281.jpg"),
|
|
@@ -402,7 +401,7 @@ def get_example():
|
|
| 402 |
"Let the girl and the boy get married in the church. ",
|
| 403 |
1024,
|
| 404 |
1024,
|
| 405 |
-
|
| 406 |
50,
|
| 407 |
os.path.join(ROOT_DIR, "example_images/8FtFUxRzXqaguVRGzkHvN.png"),
|
| 408 |
os.path.join(ROOT_DIR, "example_images/01194-20240127001056_1024x1536.png"),
|
|
@@ -421,7 +420,7 @@ def get_example():
|
|
| 421 |
"Let the man from image1 and the woman from image2 kiss and hug",
|
| 422 |
1024,
|
| 423 |
1024,
|
| 424 |
-
|
| 425 |
50,
|
| 426 |
os.path.join(ROOT_DIR, "example_images/1280X1280.png"),
|
| 427 |
os.path.join(ROOT_DIR, "example_images/000077066.jpg"),
|
|
@@ -440,7 +439,7 @@ def get_example():
|
|
| 440 |
"Please let the person in image 2 hold the toy from the first image in a parking lot.",
|
| 441 |
1024,
|
| 442 |
1024,
|
| 443 |
-
|
| 444 |
50,
|
| 445 |
os.path.join(ROOT_DIR, "example_images/04.jpg"),
|
| 446 |
os.path.join(ROOT_DIR, "example_images/000365954.jpg"),
|
|
@@ -459,7 +458,7 @@ def get_example():
|
|
| 459 |
"Make the girl pray in the second image.",
|
| 460 |
1024,
|
| 461 |
682,
|
| 462 |
-
|
| 463 |
50,
|
| 464 |
os.path.join(ROOT_DIR, "example_images/000440817.jpg"),
|
| 465 |
os.path.join(ROOT_DIR, "example_images/000119733.jpg"),
|
|
@@ -474,11 +473,55 @@ def get_example():
|
|
| 474 |
1024 * 1024,
|
| 475 |
0,
|
| 476 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 477 |
# [
|
| 478 |
# "Add the bird from image 1 to the desk in image 2",
|
| 479 |
# 1024,
|
| 480 |
# 682,
|
| 481 |
-
#
|
| 482 |
# 50,
|
| 483 |
# os.path.join(
|
| 484 |
# ROOT_DIR,
|
|
@@ -496,33 +539,33 @@ def get_example():
|
|
| 496 |
# 1024 * 1024,
|
| 497 |
# 0,
|
| 498 |
# ],
|
| 499 |
-
|
| 500 |
-
|
| 501 |
-
|
| 502 |
-
|
| 503 |
-
|
| 504 |
-
|
| 505 |
-
|
| 506 |
-
|
| 507 |
-
|
| 508 |
-
|
| 509 |
-
|
| 510 |
-
|
| 511 |
-
|
| 512 |
-
|
| 513 |
-
|
| 514 |
-
|
| 515 |
-
|
| 516 |
-
|
| 517 |
-
|
| 518 |
-
|
| 519 |
-
|
| 520 |
-
|
| 521 |
# [
|
| 522 |
# "Replace the woman in the second image with the woman from the first image",
|
| 523 |
# 1024,
|
| 524 |
# 747,
|
| 525 |
-
#
|
| 526 |
# 50,
|
| 527 |
# os.path.join(
|
| 528 |
# ROOT_DIR, "example_images/byward-outfitters-B97YFrsITyo-unsplash.jpg"
|
|
@@ -541,6 +584,139 @@ def get_example():
|
|
| 541 |
# 1024 * 1024,
|
| 542 |
# 0,
|
| 543 |
# ],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 544 |
[
|
| 545 |
"The cat is sitting on the table. The bird is perching on the edge of the table.",
|
| 546 |
800,
|
|
@@ -567,7 +743,7 @@ def get_example():
|
|
| 567 |
0,
|
| 568 |
],
|
| 569 |
]
|
| 570 |
-
return
|
| 571 |
|
| 572 |
|
| 573 |
def run_for_examples(
|
|
|
|
| 134 |
image.save(f"{image_name}_{i}{ext}")
|
| 135 |
return output_image
|
| 136 |
|
|
|
|
| 137 |
def get_example():
|
| 138 |
+
cases = [
|
| 139 |
[
|
| 140 |
"The sun rises slightly, the dew on the rose petals in the garden is clear, a crystal ladybug is crawling to the dew, the background is the early morning garden, macro lens.",
|
| 141 |
1024,
|
| 142 |
1024,
|
| 143 |
+
"euler",
|
| 144 |
50,
|
| 145 |
None,
|
| 146 |
None,
|
|
|
|
| 159 |
"A snow maiden with pale translucent skin, frosty white lashes, and a soft expression of longing",
|
| 160 |
1024,
|
| 161 |
1024,
|
| 162 |
+
"euler",
|
| 163 |
50,
|
| 164 |
None,
|
| 165 |
None,
|
|
|
|
| 178 |
"Add a fisherman hat to the woman's head",
|
| 179 |
1024,
|
| 180 |
1024,
|
| 181 |
+
"euler",
|
| 182 |
50,
|
| 183 |
os.path.join(ROOT_DIR, "example_images/flux5.png"),
|
| 184 |
None,
|
|
|
|
| 197 |
" replace the sword with a hammer.",
|
| 198 |
1024,
|
| 199 |
1024,
|
| 200 |
+
"euler",
|
| 201 |
50,
|
| 202 |
os.path.join(
|
| 203 |
ROOT_DIR,
|
|
|
|
| 220 |
# "Transform the sculpture into jade",
|
| 221 |
1024,
|
| 222 |
1024,
|
| 223 |
+
"euler",
|
| 224 |
50,
|
| 225 |
os.path.join(
|
| 226 |
ROOT_DIR, "example_images/46e79704-c88e-4e68-97b4-b4c40cd29826.png"
|
|
|
|
| 241 |
"Make he smile",
|
| 242 |
1024,
|
| 243 |
1024,
|
| 244 |
+
"euler",
|
| 245 |
50,
|
| 246 |
os.path.join(
|
| 247 |
ROOT_DIR, "example_images/vicky-hladynets-C8Ta0gwPbQg-unsplash.jpg"
|
|
|
|
| 262 |
"Change the background to classroom",
|
| 263 |
1024,
|
| 264 |
1024,
|
| 265 |
+
"euler",
|
| 266 |
50,
|
| 267 |
os.path.join(ROOT_DIR, "example_images/ComfyUI_temp_mllvz_00071_.png"),
|
| 268 |
None,
|
|
|
|
| 281 |
"Raise his hand",
|
| 282 |
1024,
|
| 283 |
1024,
|
| 284 |
+
"euler",
|
| 285 |
50,
|
| 286 |
os.path.join(
|
| 287 |
ROOT_DIR,
|
|
|
|
| 303 |
"Generate a photo of an anime-style figurine placed on a desk. The figurine model should be based on the character photo provided in the attachment, accurately replicating the full-body pose, facial expression, and clothing style of the character in the photo, ensuring the entire figurine is fully presented. The overall design should be exquisite and detailed, soft gradient colors and a delicate texture, leaning towards a Japanese anime style, rich in details, with a realistic quality and beautiful visual appeal.",
|
| 304 |
1024,
|
| 305 |
1024,
|
| 306 |
+
"euler",
|
| 307 |
50,
|
| 308 |
os.path.join(ROOT_DIR, "example_images/RAL_0315.JPG"),
|
| 309 |
None,
|
|
|
|
| 322 |
"Change the dress to blue.",
|
| 323 |
1024,
|
| 324 |
1024,
|
| 325 |
+
"euler",
|
| 326 |
50,
|
| 327 |
os.path.join(ROOT_DIR, "example_images/1.png"),
|
| 328 |
None,
|
|
|
|
| 341 |
"Remove the cat",
|
| 342 |
1024,
|
| 343 |
1024,
|
| 344 |
+
"euler",
|
| 345 |
50,
|
| 346 |
os.path.join(
|
| 347 |
ROOT_DIR,
|
|
|
|
| 363 |
"In a cozy café, the anime figure is sitting in front of a laptop, smiling confidently.",
|
| 364 |
1024,
|
| 365 |
1024,
|
| 366 |
+
"euler",
|
| 367 |
50,
|
| 368 |
os.path.join(ROOT_DIR, "example_images/ComfyUI_00254_.png"),
|
| 369 |
None,
|
|
|
|
| 382 |
"Create a wedding figure based on the girl in the first image and the man in the second image. Set the background as a wedding hall, with the man dressed in a suit and the girl in a white wedding dress. Ensure that the original faces remain unchanged and are accurately preserved. The man should adopt a realistic style, whereas the girl should maintain their classic anime style.",
|
| 383 |
1024,
|
| 384 |
1024,
|
| 385 |
+
"euler",
|
| 386 |
50,
|
| 387 |
os.path.join(ROOT_DIR, "example_images/1_20241127203215.png"),
|
| 388 |
os.path.join(ROOT_DIR, "example_images/000050281.jpg"),
|
|
|
|
| 401 |
"Let the girl and the boy get married in the church. ",
|
| 402 |
1024,
|
| 403 |
1024,
|
| 404 |
+
"euler",
|
| 405 |
50,
|
| 406 |
os.path.join(ROOT_DIR, "example_images/8FtFUxRzXqaguVRGzkHvN.png"),
|
| 407 |
os.path.join(ROOT_DIR, "example_images/01194-20240127001056_1024x1536.png"),
|
|
|
|
| 420 |
"Let the man from image1 and the woman from image2 kiss and hug",
|
| 421 |
1024,
|
| 422 |
1024,
|
| 423 |
+
"euler",
|
| 424 |
50,
|
| 425 |
os.path.join(ROOT_DIR, "example_images/1280X1280.png"),
|
| 426 |
os.path.join(ROOT_DIR, "example_images/000077066.jpg"),
|
|
|
|
| 439 |
"Please let the person in image 2 hold the toy from the first image in a parking lot.",
|
| 440 |
1024,
|
| 441 |
1024,
|
| 442 |
+
"euler",
|
| 443 |
50,
|
| 444 |
os.path.join(ROOT_DIR, "example_images/04.jpg"),
|
| 445 |
os.path.join(ROOT_DIR, "example_images/000365954.jpg"),
|
|
|
|
| 458 |
"Make the girl pray in the second image.",
|
| 459 |
1024,
|
| 460 |
682,
|
| 461 |
+
"euler",
|
| 462 |
50,
|
| 463 |
os.path.join(ROOT_DIR, "example_images/000440817.jpg"),
|
| 464 |
os.path.join(ROOT_DIR, "example_images/000119733.jpg"),
|
|
|
|
| 473 |
1024 * 1024,
|
| 474 |
0,
|
| 475 |
],
|
| 476 |
+
[
|
| 477 |
+
"Edit the first image: add the man from the second image. The man is talking with a woman in the kitchen",
|
| 478 |
+
1024,
|
| 479 |
+
682,
|
| 480 |
+
"euler",
|
| 481 |
+
50,
|
| 482 |
+
os.path.join(
|
| 483 |
+
ROOT_DIR,
|
| 484 |
+
"example_images/woman_kitchen.webp",
|
| 485 |
+
),
|
| 486 |
+
os.path.join(ROOT_DIR, "example_images/a_man.webp"),
|
| 487 |
+
None,
|
| 488 |
+
NEGATIVE_PROMPT,
|
| 489 |
+
5.0,
|
| 490 |
+
3.0,
|
| 491 |
+
0.0,
|
| 492 |
+
1.0,
|
| 493 |
+
1,
|
| 494 |
+
2048,
|
| 495 |
+
1024 * 1024,
|
| 496 |
+
0,
|
| 497 |
+
],
|
| 498 |
+
[
|
| 499 |
+
"Edit the first image: replace the woman with the person from the second image. The person is watching his phone in the kitchen",
|
| 500 |
+
1024,
|
| 501 |
+
682,
|
| 502 |
+
"euler",
|
| 503 |
+
50,
|
| 504 |
+
os.path.join(
|
| 505 |
+
ROOT_DIR,
|
| 506 |
+
"example_images/woman_kitchen.webp",
|
| 507 |
+
),
|
| 508 |
+
os.path.join(ROOT_DIR, "example_images/a_man.webp"),
|
| 509 |
+
None,
|
| 510 |
+
NEGATIVE_PROMPT,
|
| 511 |
+
5.0,
|
| 512 |
+
3.0,
|
| 513 |
+
0.0,
|
| 514 |
+
1.0,
|
| 515 |
+
1,
|
| 516 |
+
2048,
|
| 517 |
+
1024 * 1024,
|
| 518 |
+
0,
|
| 519 |
+
],
|
| 520 |
# [
|
| 521 |
# "Add the bird from image 1 to the desk in image 2",
|
| 522 |
# 1024,
|
| 523 |
# 682,
|
| 524 |
+
# "euler",
|
| 525 |
# 50,
|
| 526 |
# os.path.join(
|
| 527 |
# ROOT_DIR,
|
|
|
|
| 539 |
# 1024 * 1024,
|
| 540 |
# 0,
|
| 541 |
# ],
|
| 542 |
+
[
|
| 543 |
+
"Edit the first image: replace the apple with the cat from the second image.",
|
| 544 |
+
1024,
|
| 545 |
+
780,
|
| 546 |
+
"euler",
|
| 547 |
+
50,
|
| 548 |
+
os.path.join(ROOT_DIR, "example_images/apple.png"),
|
| 549 |
+
os.path.join(
|
| 550 |
+
ROOT_DIR,
|
| 551 |
+
"example_images/468404374-d52ec1a44aa7e0dc9c2807ce09d303a111c78f34da3da2401b83ce10815ff872.png",
|
| 552 |
+
),
|
| 553 |
+
None,
|
| 554 |
+
NEGATIVE_PROMPT,
|
| 555 |
+
5.0,
|
| 556 |
+
2.0,
|
| 557 |
+
0.0,
|
| 558 |
+
1.0,
|
| 559 |
+
1,
|
| 560 |
+
2048,
|
| 561 |
+
1024 * 1024,
|
| 562 |
+
0,
|
| 563 |
+
],
|
| 564 |
# [
|
| 565 |
# "Replace the woman in the second image with the woman from the first image",
|
| 566 |
# 1024,
|
| 567 |
# 747,
|
| 568 |
+
# "euler",
|
| 569 |
# 50,
|
| 570 |
# os.path.join(
|
| 571 |
# ROOT_DIR, "example_images/byward-outfitters-B97YFrsITyo-unsplash.jpg"
|
|
|
|
| 584 |
# 1024 * 1024,
|
| 585 |
# 0,
|
| 586 |
# ],
|
| 587 |
+
[
|
| 588 |
+
"She holds the sunflower close to her chest, eyes closed and smiling softly, standing on a sunlit balcony with the awakening city skyline behind her.",
|
| 589 |
+
1024,
|
| 590 |
+
1536,
|
| 591 |
+
"euler",
|
| 592 |
+
50,
|
| 593 |
+
os.path.join(ROOT_DIR, "example_images/woman1.webp"),
|
| 594 |
+
None,
|
| 595 |
+
None,
|
| 596 |
+
NEGATIVE_PROMPT,
|
| 597 |
+
5.0,
|
| 598 |
+
2.0,
|
| 599 |
+
0.0,
|
| 600 |
+
1.0,
|
| 601 |
+
1,
|
| 602 |
+
2048,
|
| 603 |
+
1024 * 1024,
|
| 604 |
+
0,
|
| 605 |
+
],
|
| 606 |
+
[
|
| 607 |
+
"She does push-ups on the moonlit beach, staring intensely at the camera. Moonlight highlights her strong, focused expression, with waves crashing beside her on the glistening sand.",
|
| 608 |
+
1024,
|
| 609 |
+
1536,
|
| 610 |
+
"euler",
|
| 611 |
+
50,
|
| 612 |
+
os.path.join(ROOT_DIR, "example_images/woman1.webp"),
|
| 613 |
+
None,
|
| 614 |
+
None,
|
| 615 |
+
NEGATIVE_PROMPT,
|
| 616 |
+
5.0,
|
| 617 |
+
3.0,
|
| 618 |
+
0.0,
|
| 619 |
+
1.0,
|
| 620 |
+
1,
|
| 621 |
+
2048,
|
| 622 |
+
1024 * 1024,
|
| 623 |
+
0,
|
| 624 |
+
],
|
| 625 |
+
[
|
| 626 |
+
"She is sitting on a motorcycle, framed by a daytime backdrop with swaying palm trees.",
|
| 627 |
+
1024,
|
| 628 |
+
1536,
|
| 629 |
+
"euler",
|
| 630 |
+
50,
|
| 631 |
+
os.path.join(ROOT_DIR, "example_images/woman1.webp"),
|
| 632 |
+
None,
|
| 633 |
+
None,
|
| 634 |
+
NEGATIVE_PROMPT,
|
| 635 |
+
5.0,
|
| 636 |
+
2.0,
|
| 637 |
+
0.0,
|
| 638 |
+
1.0,
|
| 639 |
+
1,
|
| 640 |
+
2048,
|
| 641 |
+
1024 * 1024,
|
| 642 |
+
0,
|
| 643 |
+
],
|
| 644 |
+
[
|
| 645 |
+
"The two people shown in the images are sitting in a theater, watching the screen. One person points at the other person.",
|
| 646 |
+
1024,
|
| 647 |
+
1024,
|
| 648 |
+
"euler",
|
| 649 |
+
50,
|
| 650 |
+
os.path.join(ROOT_DIR, "example_images/man1.webp"),
|
| 651 |
+
os.path.join(ROOT_DIR, "example_images/woman1.webp"),
|
| 652 |
+
None,
|
| 653 |
+
NEGATIVE_PROMPT,
|
| 654 |
+
5.0,
|
| 655 |
+
3.0,
|
| 656 |
+
0.0,
|
| 657 |
+
1.0,
|
| 658 |
+
1,
|
| 659 |
+
2048,
|
| 660 |
+
1024 * 1024,
|
| 661 |
+
0,
|
| 662 |
+
],
|
| 663 |
+
[
|
| 664 |
+
"The two people shown in the images are sitting in a theater, watching the screen. One person points at the other person.",
|
| 665 |
+
1024,
|
| 666 |
+
1024,
|
| 667 |
+
"euler",
|
| 668 |
+
50,
|
| 669 |
+
os.path.join(ROOT_DIR, "example_images/saml-altman-openai-ceo.webp"),
|
| 670 |
+
os.path.join(ROOT_DIR, "example_images/elon-twitter-new-ceo.webp"),
|
| 671 |
+
None,
|
| 672 |
+
NEGATIVE_PROMPT,
|
| 673 |
+
5.0,
|
| 674 |
+
3.0,
|
| 675 |
+
0.0,
|
| 676 |
+
1.0,
|
| 677 |
+
1,
|
| 678 |
+
2048,
|
| 679 |
+
1024 * 1024,
|
| 680 |
+
0,
|
| 681 |
+
],
|
| 682 |
+
[
|
| 683 |
+
"The two people shown in the images are drinking wine, their eyes locked in an intense gaze at the camera, seated at an elegantly set table in a dimly lit room. Soft, golden light spills from a nearby chandelier, casting a warm glow over the polished wood surface, while the ambient sound of quiet conversation fills the air.",
|
| 684 |
+
1024,
|
| 685 |
+
1024,
|
| 686 |
+
"euler",
|
| 687 |
+
50,
|
| 688 |
+
os.path.join(ROOT_DIR, "example_images/man1.webp"),
|
| 689 |
+
os.path.join(ROOT_DIR, "example_images/woman1.webp"),
|
| 690 |
+
None,
|
| 691 |
+
NEGATIVE_PROMPT,
|
| 692 |
+
5.0,
|
| 693 |
+
3.0,
|
| 694 |
+
0.0,
|
| 695 |
+
1.0,
|
| 696 |
+
1,
|
| 697 |
+
2048,
|
| 698 |
+
1024 * 1024,
|
| 699 |
+
0,
|
| 700 |
+
],
|
| 701 |
+
[
|
| 702 |
+
"The two people shown in the images are drinking wine, their eyes locked in an intense gaze at the camera, seated at an elegantly set table in a dimly lit room. Soft, golden light spills from a nearby chandelier, casting a warm glow over the polished wood surface, while the ambient sound of quiet conversation fills the air.",
|
| 703 |
+
1024,
|
| 704 |
+
1024,
|
| 705 |
+
"euler",
|
| 706 |
+
50,
|
| 707 |
+
os.path.join(ROOT_DIR, "example_images/saml-altman-openai-ceo.webp"),
|
| 708 |
+
os.path.join(ROOT_DIR, "example_images/elon-twitter-new-ceo.webp"),
|
| 709 |
+
None,
|
| 710 |
+
NEGATIVE_PROMPT,
|
| 711 |
+
5.0,
|
| 712 |
+
3.0,
|
| 713 |
+
0.0,
|
| 714 |
+
1.0,
|
| 715 |
+
1,
|
| 716 |
+
2048,
|
| 717 |
+
1024 * 1024,
|
| 718 |
+
0,
|
| 719 |
+
],
|
| 720 |
[
|
| 721 |
"The cat is sitting on the table. The bird is perching on the edge of the table.",
|
| 722 |
800,
|
|
|
|
| 743 |
0,
|
| 744 |
],
|
| 745 |
]
|
| 746 |
+
return cases
|
| 747 |
|
| 748 |
|
| 749 |
def run_for_examples(
|