MCPcopy Create free account
hub / github.com/Sin3DM/Sin3DM / find_input_path

Function find_input_path

src/app.py:91–98  ·  view source on GitHub ↗
(example)

Source from the content-addressed store, hash-verified

89
90
91def find_input_path(example):
92 path = os.path.join(CKPT_DIR, example, "input.glb")
93 if not os.path.exists(path):
94 path = os.path.join(CKPT_DIR, example, "input.gltf")
95 if not os.path.exists(path):
96 print(f"Input file does not exist: {path}")
97 path = None
98 return path
99
100
101with gr.Blocks(title=TITLE) as demo:

Callers 1

app.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected