MCPcopy Index your code
hub / github.com/thygate/stable-diffusion-webui-depthmap-script / predict_depth

Function predict_depth

ddepth_anything_v2/app.py:43–44  ·  view source on GitHub ↗
(image)

Source from the content-addressed store, hash-verified

41Please refer to our [paper](https://arxiv.org/abs/2406.09414), [project page](https://depth-anything-v2.github.io), or [github](https://github.com/DepthAnything/Depth-Anything-V2) for more details."""
42
43def predict_depth(image):
44 return model.infer_image(image)
45
46with gr.Blocks(css=css) as demo:
47 gr.Markdown(title)

Callers 1

on_submitFunction · 0.85

Calls 1

infer_imageMethod · 0.45

Tested by

no test coverage detected