Spaces:
Running
Running
Akash Raj
commited on
Commit
·
bce227b
1
Parent(s):
11e7b3d
test
Browse files
app.py
CHANGED
@@ -26,11 +26,11 @@ with gr.Blocks() as iface:
|
|
26 |
|
27 |
with gr.Row():
|
28 |
with gr.Column():
|
29 |
-
output_base = gr.Image(type="pil", label="LiheYoung/depth-anything-base-hf", interactive=False, height=400)
|
30 |
-
output_small = gr.Image(type="pil", label="LiheYoung/depth-anything-small-hf", interactive=False, height=400)
|
31 |
with gr.Column():
|
32 |
-
output_intel = gr.Image(type="pil", label="Intel/dpt-swinv2-tiny-256", interactive=False, height=400)
|
33 |
-
output_beit = gr.Image(type="pil", label="Intel/dpt-beit-base-384", interactive=False, height=400)
|
34 |
|
35 |
input_image.change(fn=estimate_depths, inputs=input_image, outputs=[output_base, output_small, output_intel, output_beit])
|
36 |
|
|
|
26 |
|
27 |
with gr.Row():
|
28 |
with gr.Column():
|
29 |
+
output_base = gr.Image(type="pil", label="LiheYoung/depth-anything-base-hf", interactive=False, height=400, fit="contain")
|
30 |
+
output_small = gr.Image(type="pil", label="LiheYoung/depth-anything-small-hf", interactive=False, height=400, fit="contain")
|
31 |
with gr.Column():
|
32 |
+
output_intel = gr.Image(type="pil", label="Intel/dpt-swinv2-tiny-256", interactive=False, height=400, fit="contain")
|
33 |
+
output_beit = gr.Image(type="pil", label="Intel/dpt-beit-base-384", interactive=False, height=400, fit="contain")
|
34 |
|
35 |
input_image.change(fn=estimate_depths, inputs=input_image, outputs=[output_base, output_small, output_intel, output_beit])
|
36 |
|