Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LiheYoung/Depth-Anything
/ predict_depth
Function
predict_depth
app.py:49–50 ·
view source on GitHub ↗
(model, image)
Source
from the content-addressed store, hash-verified
47
48
@torch.no_grad()
49
def
predict_depth(model, image):
50
return
model(image)
51
52
with
gr.Blocks(css=css)
as
demo:
53
gr.Markdown(title)
Callers
1
on_submit
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected