bmay commited on
Commit
8bf32ed
·
verified ·
1 Parent(s): b1b22c2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -8
app.py CHANGED
@@ -59,19 +59,16 @@ with gr.Blocks() as demo:
59
 
60
  with gr.Row():
61
  with gr.Column():
 
62
  input_image = gr.Image(type="pil", label="Input Image")
63
  submit_button = gr.Button("Submit")
64
 
65
  with gr.Column():
66
- with gr.Row():
67
- with gr.Column():
68
- gr.Markdown("### Theia Results")
69
- theia_output = gr.Image(label="DINOv2, SAM, Depth Anything", type="numpy")
70
 
71
- with gr.Row():
72
- with gr.Column():
73
- gr.Markdown("### Ground Truth")
74
- gt_output = gr.Image(label="DINOv2, SAM, Depth Anything", type="numpy")
75
 
76
  submit_button.click(run_theia, inputs=input_image, outputs=[theia_output, gt_output])
77
 
 
59
 
60
  with gr.Row():
61
  with gr.Column():
62
+ gr.Markdown("### Input Image")
63
  input_image = gr.Image(type="pil", label="Input Image")
64
  submit_button = gr.Button("Submit")
65
 
66
  with gr.Column():
67
+ gr.Markdown("### Theia Results")
68
+ theia_output = gr.Image(label="DINOv2, SAM, Depth Anything", type="numpy")
 
 
69
 
70
+ gr.Markdown("### Ground Truth")
71
+ gt_output = gr.Image(label="DINOv2, SAM, Depth Anything", type="numpy")
 
 
72
 
73
  submit_button.click(run_theia, inputs=input_image, outputs=[theia_output, gt_output])
74