Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -48,9 +48,8 @@ model.load_state_dict(state_dict)
|
|
48 |
model = model.to(DEVICE).eval()
|
49 |
|
50 |
title = "# Depth Anything V2"
|
51 |
-
|
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,8 +57,7 @@ def predict_depth(image):
|
|
58 |
|
59 |
with gr.Blocks(css=css) as demo:
|
60 |
gr.Markdown(title)
|
61 |
-
gr.Markdown(
|
62 |
-
gr.Markdown(description2)
|
63 |
gr.Markdown("### Depth Prediction demo")
|
64 |
|
65 |
with gr.Row():
|
|
|
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), and [github](https://github.com/DepthAnything/Depth-Anything-V2) for more details."""
|
|
|
53 |
|
54 |
@spaces.GPU
|
55 |
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():
|