Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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 |
-
|
| 67 |
-
|
| 68 |
-
gr.Markdown("### Theia Results")
|
| 69 |
-
theia_output = gr.Image(label="DINOv2, SAM, Depth Anything", type="numpy")
|
| 70 |
|
| 71 |
-
|
| 72 |
-
|
| 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 |
|