Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -484,6 +484,13 @@ with gr.Blocks(css=css) as demo:
|
|
| 484 |
type="pil",
|
| 485 |
interactive=True)
|
| 486 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 487 |
with gr.Column():
|
| 488 |
result = gr.Gallery(label="Result", show_label=False, type="pil")
|
| 489 |
# Add this button right after the result gallery - initially hidden
|
|
@@ -499,13 +506,6 @@ with gr.Blocks(css=css) as demo:
|
|
| 499 |
show_label=True
|
| 500 |
)
|
| 501 |
|
| 502 |
-
with gr.Row():
|
| 503 |
-
prompt = gr.Text(
|
| 504 |
-
label="Prompt 🪄",
|
| 505 |
-
show_label=True,
|
| 506 |
-
placeholder="Next scene: The camera dollies in to a tight close-up...",
|
| 507 |
-
)
|
| 508 |
-
run_button = gr.Button("Edit!", variant="primary")
|
| 509 |
|
| 510 |
with gr.Accordion("Advanced Settings", open=False):
|
| 511 |
# Negative prompt UI element is removed here
|
|
|
|
| 484 |
type="pil",
|
| 485 |
interactive=True)
|
| 486 |
|
| 487 |
+
prompt = gr.Text(
|
| 488 |
+
label="Prompt 🪄",
|
| 489 |
+
show_label=True,
|
| 490 |
+
placeholder="Next scene: The camera dollies in to a tight close-up...",
|
| 491 |
+
)
|
| 492 |
+
run_button = gr.Button("Edit!", variant="primary")
|
| 493 |
+
|
| 494 |
with gr.Column():
|
| 495 |
result = gr.Gallery(label="Result", show_label=False, type="pil")
|
| 496 |
# Add this button right after the result gallery - initially hidden
|
|
|
|
| 506 |
show_label=True
|
| 507 |
)
|
| 508 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 509 |
|
| 510 |
with gr.Accordion("Advanced Settings", open=False):
|
| 511 |
# Negative prompt UI element is removed here
|