Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -54,7 +54,8 @@ filepath = hf_hub_download(repo_id="depth-anything/Depth-Anything-V2-Metric-Indo
|
|
| 54 |
#model.load_state_dict(state_dict)
|
| 55 |
#model = model.to(DEVICE).eval()
|
| 56 |
|
| 57 |
-
pipe = pipeline(task="depth-estimation", model="depth-anything/Depth-Anything-V2-Metric-
|
|
|
|
| 58 |
|
| 59 |
title = "# Depth Anything V2"
|
| 60 |
description = """Official demo for **Depth Anything V2**.
|
|
|
|
| 54 |
#model.load_state_dict(state_dict)
|
| 55 |
#model = model.to(DEVICE).eval()
|
| 56 |
|
| 57 |
+
pipe = pipeline(task="depth-estimation", model="depth-anything/Depth-Anything-V2-Metric-Outdoor-Large-hf", device=DEVICE)
|
| 58 |
+
#pipe = pipeline(task="depth-estimation", model="LiheYoung/Depth-Anything", device=DEVICE)
|
| 59 |
|
| 60 |
title = "# Depth Anything V2"
|
| 61 |
description = """Official demo for **Depth Anything V2**.
|