MCPcopy 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()
49def predict_depth(model, image):
50 return model(image)
51
52with gr.Blocks(css=css) as demo:
53 gr.Markdown(title)

Callers 1

on_submitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected