Spaces:
Running on Zero
Running on Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -234,13 +234,15 @@ with gr.Blocks() as demo:
|
|
| 234 |
allow_preview=True,
|
| 235 |
)
|
| 236 |
|
| 237 |
-
|
| 238 |
-
|
| 239 |
-
|
| 240 |
-
|
| 241 |
-
|
|
|
|
| 242 |
|
| 243 |
-
|
|
|
|
| 244 |
|
| 245 |
with gr.Column():
|
| 246 |
with gr.Row():
|
|
@@ -322,7 +324,6 @@ with gr.Blocks() as demo:
|
|
| 322 |
[["examples/2.jpg"], "Transform the scene into a snowy winter day while preserving the original subject identity, framing, and composition."],
|
| 323 |
[["examples/3.jpg"], "Relight the image with soft golden sunset lighting while keeping all structures and subject details consistent."],
|
| 324 |
[["examples/4.jpg"], "Make the texture high-resolution."],
|
| 325 |
-
[None, "A beautiful cyberpunk cityscape at night, neon lights, highly detailed."],
|
| 326 |
],
|
| 327 |
inputs=[input_images, prompt],
|
| 328 |
outputs=[result_standard, result_small, seed_output],
|
|
|
|
| 234 |
allow_preview=True,
|
| 235 |
)
|
| 236 |
|
| 237 |
+
with gr.Row():
|
| 238 |
+
prompt = gr.Text(
|
| 239 |
+
label="Prompt",
|
| 240 |
+
show_label=True,
|
| 241 |
+
placeholder="e.g., A black cat holding a sign that says hello world...",
|
| 242 |
+
)
|
| 243 |
|
| 244 |
+
with gr.Row():
|
| 245 |
+
run_button = gr.Button("Run Comparison", variant="primary")
|
| 246 |
|
| 247 |
with gr.Column():
|
| 248 |
with gr.Row():
|
|
|
|
| 324 |
[["examples/2.jpg"], "Transform the scene into a snowy winter day while preserving the original subject identity, framing, and composition."],
|
| 325 |
[["examples/3.jpg"], "Relight the image with soft golden sunset lighting while keeping all structures and subject details consistent."],
|
| 326 |
[["examples/4.jpg"], "Make the texture high-resolution."],
|
|
|
|
| 327 |
],
|
| 328 |
inputs=[input_images, prompt],
|
| 329 |
outputs=[result_standard, result_small, seed_output],
|