valcore commited on
Commit
936c778
·
1 Parent(s): d2d6c1b

ui: restore top-view intermediate image outputs

Browse files
Files changed (1) hide show
  1. app.py +4 -3
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
- topview_before = gr.Image(visible=False)
221
- topview_after = gr.Image(visible=False)
222
- image_output = gr.Image(label="Final Photorealistic Output", interactive=False)
 
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(