Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -547,26 +547,25 @@ with block as demo:
|
|
| 547 |
for example in examples:
|
| 548 |
gr.Label(f"- {example}")
|
| 549 |
|
| 550 |
-
|
| 551 |
-
|
| 552 |
-
|
| 553 |
-
|
| 554 |
-
#)
|
| 555 |
|
| 556 |
|
| 557 |
# Define the first gr.Image component
|
| 558 |
-
|
| 559 |
-
|
| 560 |
-
|
| 561 |
-
|
| 562 |
-
)
|
| 563 |
|
| 564 |
# Define the second gr.Image component
|
| 565 |
-
generated_images2 = gr.Image(
|
| 566 |
-
|
| 567 |
-
|
| 568 |
-
|
| 569 |
-
|
| 570 |
|
| 571 |
def generate_images_interface():
|
| 572 |
args = {
|
|
|
|
| 547 |
for example in examples:
|
| 548 |
gr.Label(f"- {example}")
|
| 549 |
|
| 550 |
+
generated_images = gr.Image(
|
| 551 |
+
label="Generated Images",
|
| 552 |
+
type="PIL" # Display the PIL image
|
| 553 |
+
)
|
|
|
|
| 554 |
|
| 555 |
|
| 556 |
# Define the first gr.Image component
|
| 557 |
+
# generated_images1 = gr.Image(
|
| 558 |
+
# label="Generated Images 1",
|
| 559 |
+
# type="PIL", # Display the PIL image
|
| 560 |
+
# source=None
|
| 561 |
+
#)
|
| 562 |
|
| 563 |
# Define the second gr.Image component
|
| 564 |
+
#generated_images2 = gr.Image(
|
| 565 |
+
# label="Generated Images 2",
|
| 566 |
+
# type="PIL", # Display the PIL image
|
| 567 |
+
# source=None
|
| 568 |
+
# )
|
| 569 |
|
| 570 |
def generate_images_interface():
|
| 571 |
args = {
|