• Stefy Lanza (nextime / spora )'s avatar
    Fix base model detection for Wan LoRA adapters · 410f97e9
    Stefy Lanza (nextime / spora ) authored
    For Wan LoRA adapters, skip reading base_model from stored config
    (which may have incorrect values like T2V instead of I2V).
    Instead, always infer from LoRA ID by checking for 'i2v' in the name.
    
    This ensures wan2_2_i2v_general_nsfw_lora uses the correct
    Wan-AI/Wan2.2-I2V-A14B-Diffusers base model instead of the
    incorrect Wan-AI/Wan2.2-T2V-A14B-Diffusers.
    410f97e9
videogen.py 457 KB