4LEX-FOUNDER commited on
Commit
7693d93
·
verified ·
1 Parent(s): 276bb3c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -21,12 +21,12 @@ css = """
21
  DEVICE = 'cuda' if torch.cuda.is_available() else 'cpu'
22
  model = torch.hub.load('isl-org/ZoeDepth', "ZoeD_N", pretrained=True).to(DEVICE).eval()
23
 
24
- title = "# ZoeDepth"
25
- description = """Official demo for **ZoeDepth: Zero-shot Transfer by Combining Relative and Metric Depth**.
26
 
27
- ZoeDepth is a deep learning model for metric depth estimation from a single image.
28
 
29
- Please refer to our [paper](https://arxiv.org/abs/2302.12288) or [github](https://github.com/isl-org/ZoeDepth) for more details."""
30
 
31
  with gr.Blocks(css=css) as demo:
32
  gr.Markdown(title)
@@ -38,7 +38,7 @@ with gr.Blocks(css=css) as demo:
38
  with gr.Tab("360 Panorama to 3D"):
39
  create_pano_to_3d_demo(model)
40
 
41
- gr.HTML('''<br><br><br><center>You can duplicate this Space to skip the queue:<a href="https://huggingface.co/spaces/shariqfarooq/ZoeDepth?duplicate=true"><img src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a><br>
42
  <p><img src="https://visitor-badge.glitch.me/badge?page_id=shariqfarooq.zoedepth_demo_hf" alt="visitors"></p></center>''')
43
 
44
  if __name__ == '__main__':
 
21
  DEVICE = 'cuda' if torch.cuda.is_available() else 'cpu'
22
  model = torch.hub.load('isl-org/ZoeDepth', "ZoeD_N", pretrained=True).to(DEVICE).eval()
23
 
24
+ title = "# 3DT"
25
+ description = """Demo-version of **3DT: Zero-shot Transfer by Combining Relative and Metric Depth**.
26
 
27
+ 3DT is a deep learning model for metric depth estimation from a single image.
28
 
29
+ Please refer to our [paper](https://arxiv.org/abs/2302.12288) or [github](https://github.com/4LEX_FOUNDER/3DT) for more details."""
30
 
31
  with gr.Blocks(css=css) as demo:
32
  gr.Markdown(title)
 
38
  with gr.Tab("360 Panorama to 3D"):
39
  create_pano_to_3d_demo(model)
40
 
41
+ gr.HTML('''<br><br><br><center>You can duplicate this Space to skip the queue:<a href="https://huggingface.co/spaces/4LEX_FOUNDER/3DT?duplicate=false"><img src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a><br>
42
  <p><img src="https://visitor-badge.glitch.me/badge?page_id=shariqfarooq.zoedepth_demo_hf" alt="visitors"></p></center>''')
43
 
44
  if __name__ == '__main__':