Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -37,14 +37,13 @@ css = """
|
|
37 |
"""
|
38 |
with gr.Blocks(css=css) as demo:
|
39 |
gr.HTML("<h1><center>Compare Depth Estimation Models<center><h1>")
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
output_3 = gr.Image(type="pil", label="Depth Anything")
|
48 |
|
49 |
|
50 |
input_img.change(infer, [input_img], [output_1, output_2, output_3])
|
|
|
37 |
"""
|
38 |
with gr.Blocks(css=css) as demo:
|
39 |
gr.HTML("<h1><center>Compare Depth Estimation Models<center><h1>")
|
40 |
+
with gr.Column():
|
41 |
+
with gr.Row():
|
42 |
+
input_img = gr.Image(label="Input Image")
|
43 |
+
with gr.Row():
|
44 |
+
output_1 = gr.Image(type="pil", label="DPT-Large")
|
45 |
+
output_2 = gr.Image(type="pil", label="DPT with BeiT Backbone")
|
46 |
+
output_3 = gr.Image(type="pil", label="Depth Anything")
|
|
|
47 |
|
48 |
|
49 |
input_img.change(infer, [input_img], [output_1, output_2, output_3])
|