MCPcopy Create free account
hub / github.com/ModelTC/LightX2V / get_vae_choices_func

Function get_vae_choices_func

app/utils/model_components.py:362–367  ·  view source on GitHub ↗
(model_path_val)

Source from the content-addressed store, hash-verified

360 return get_qwen_image_dit_choices(model_path_val)
361
362 def get_vae_choices_func(model_path_val):
363 model_type_val = model_type_input.value if hasattr(model_type_input, "value") else "Qwen-Image-Edit-2511"
364 if model_type_val == "Qwen-Image-2512":
365 return get_qwen_image_2512_vae_choices(model_path_val)
366 else:
367 return get_qwen_image_vae_choices(model_path_val)
368
369 def get_scheduler_choices_func(model_path_val):
370 model_type_val = model_type_input.value if hasattr(model_type_input, "value") else "Qwen-Image-Edit-2511"

Callers 1

Calls 2

Tested by

no test coverage detected