MCPcopy Create free account
hub / github.com/aigc3d/LHM / assert_input_image

Function assert_input_image

app.py:334–336  ·  view source on GitHub ↗
(input_image)

Source from the content-addressed store, hash-verified

332 return out
333
334def assert_input_image(input_image):
335 if input_image is None:
336 raise gr.Error("No image selected or uploaded!")
337
338def prepare_working_dir():
339 import tempfile

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected