MCPcopy
hub / github.com/OpenBMB/VoxCPM / validate_reference_support

Function validate_reference_support

src/voxcpm/cli.py:129–135  ·  view source on GitHub ↗
(args, parser)

Source from the content-addressed store, hash-verified

127
128
129def validate_reference_support(args, parser):
130 if not getattr(args, "reference_audio", None):
131 return
132
133 arch = detect_model_architecture(args)
134 if arch == "voxcpm":
135 parser.error("--reference-audio is only supported with VoxCPM2 models.")
136
137
138def validate_design_args(args, parser):

Callers 2

validate_clone_argsFunction · 0.85
validate_batch_argsFunction · 0.85

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…