• Stefy Lanza (nextime / spora )'s avatar
    Fix I2V detection for LoRA adapters (e.g., wan2_2_i2v_general_nsfw_lora) · e668b610
    Stefy Lanza (nextime / spora ) authored
    The check at line 9414 only checked the stored supports_i2v flag
    from the model configuration, but didn't check the model ID string
    for 'i2v' like the detect_model_type() function does.
    
    Now the I2V validation also detects I2V capability from the model ID,
    making it consistent with detect_model_type() and properly detecting
    I2V capability for LoRA adapters like lopi999/Wan2.2-I2V_General-NSFW-LoRA.
    e668b610
videogen.py 457 KB