MCPcopy Create free account
hub / github.com/TencentARC/InstantMesh / check_input_image

Function check_input_image

app.py:119–121  ·  view source on GitHub ↗
(input_image)

Source from the content-addressed store, hash-verified

117
118
119def check_input_image(input_image):
120 if input_image is None:
121 raise gr.Error("No image uploaded!")
122
123
124def preprocess(input_image, do_remove_background):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected