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

Function assert_input_image

app_motion.py:343–345  ·  view source on GitHub ↗
(input_image)

Source from the content-addressed store, hash-verified

341 return out
342
343def assert_input_image(input_image):
344 if input_image is None:
345 raise gr.Error("No image selected or uploaded!")
346
347def prepare_working_dir():
348 import tempfile

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected