LiheYoung commited on
Commit
be1cbbc
1 Parent(s): 2680cbd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -48,8 +48,9 @@ model.load_state_dict(state_dict)
48
  model = model.to(DEVICE).eval()
49
 
50
  title = "# Depth Anything V2"
51
- description = """Official demo for **Depth Anything V2**.
52
- Please refer to our [paper](https://arxiv.org/abs/2406.09414), [project page](https://depth-anything-v2.github.io), or [github](https://github.com/DepthAnything/Depth-Anything-V2) for more details."""
 
53
 
54
  @spaces.GPU
55
  def predict_depth(image):
@@ -57,7 +58,8 @@ def predict_depth(image):
57
 
58
  with gr.Blocks(css=css) as demo:
59
  gr.Markdown(title)
60
- gr.Markdown(description)
 
61
  gr.Markdown("### Depth Prediction demo")
62
 
63
  with gr.Row():
 
48
  model = model.to(DEVICE).eval()
49
 
50
  title = "# Depth Anything V2"
51
+ description1 = """Official demo for **Depth Anything V2**.
52
+ Please refer to our [paper](https://arxiv.org/abs/2406.09414) for more details."""
53
+ description2 = """**Due to the issue with our V2 Github repositories, we temporarily upload the content to [Huggingface space](https://huggingface.co/spaces/depth-anything/Depth-Anything-V2/blob/main/README_Github.md)**"""
54
 
55
  @spaces.GPU
56
  def predict_depth(image):
 
58
 
59
  with gr.Blocks(css=css) as demo:
60
  gr.Markdown(title)
61
+ gr.Markdown(description1)
62
+ gr.Markdown(description2)
63
  gr.Markdown("### Depth Prediction demo")
64
 
65
  with gr.Row():