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