• Stefy Lanza (nextime / spora )'s avatar
    fix: Ensure more specific Wan model keys match first · 9a48c010
    Stefy Lanza (nextime / spora ) authored
    The issue was that model IDs like 'wan2_2_i2v_a14b' would match
    'wan2_2' (T2V) before 'wan2_2_i2v' (I2V) because 'wan2_2' comes
    first in the dictionary.
    
    Now the dictionary is ordered with more specific keys first:
    - wan2_2_i2v_a14b (most specific)
    - wan2.2_i2v_a14b
    - wan2_2_i2v
    - wan2.2_i2v
    - wan2_2
    - wan2.2
    etc.
    
    This ensures longer/more specific keys are checked before shorter ones.
    9a48c010
Name
Last commit
Last update
static Loading commit data...
templates Loading commit data...
.gitignore Loading commit data...
EXAMPLES.md Loading commit data...
LICENSE.md Loading commit data...
README.md Loading commit data...
SKILL.md Loading commit data...
check_model.py Loading commit data...
check_pipelines.py Loading commit data...
debug_model_select.py Loading commit data...
logo.png Loading commit data...
requirements.txt Loading commit data...
screenshot.png Loading commit data...
videogen.py Loading commit data...
videogen_mcp_server.py Loading commit data...
videogen_models.json Loading commit data...
webapp.py Loading commit data...