merve HF staff commited on
Commit
129db67
1 Parent(s): 509cbdf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -8
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
- with gr.Row():
43
- input_img = gr.Image(label="Input Image")
44
- with gr.Row():
45
- output_1 = gr.Image(type="pil", label="DPT-Large")
46
- output_2 = gr.Image(type="pil", label="DPT with BeiT Backbone")
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])