ui: restore top-view intermediate image outputs
Browse files
app.py
CHANGED
|
@@ -217,9 +217,10 @@ with gr.Blocks() as demo:
|
|
| 217 |
interactive=True,
|
| 218 |
)
|
| 219 |
generate_button = gr.Button("Generate New Image based on Floor plan", variant="primary")
|
| 220 |
-
|
| 221 |
-
|
| 222 |
-
|
|
|
|
| 223 |
|
| 224 |
# Wire it: input -> [floor_plan, initial_layout_state, topview_state, topview_before]
|
| 225 |
image_input.change(
|
|
|
|
| 217 |
interactive=True,
|
| 218 |
)
|
| 219 |
generate_button = gr.Button("Generate New Image based on Floor plan", variant="primary")
|
| 220 |
+
with gr.Row():
|
| 221 |
+
topview_before = gr.Image(label="Top View — Original", interactive=False)
|
| 222 |
+
topview_after = gr.Image(label="Top View — New Layout (Step A)", interactive=False)
|
| 223 |
+
image_output = gr.Image(label="Final Photorealistic Output (Step B)", interactive=False)
|
| 224 |
|
| 225 |
# Wire it: input -> [floor_plan, initial_layout_state, topview_state, topview_before]
|
| 226 |
image_input.change(
|