fix: Correct Topaz Video AI model names to use shortName format
- Fix model names from versioned format (e.g., 'thf-4') to shortName format (e.g., 'thf') - This resolves 'Model not found' errors when using TVAI filters - All model names now match the actual shortName values from JSON config files - Tested with thf, iris, amq, prob, and ahq models Models updated: - iris-3/iris-2 iris - thf-4 thf - ahq-12 ahq - amq-13 amq - prob-4 prob - And all other models to use correct shortName format
This commit is contained in:
parent
49f4b27a46
commit
5921523772
|
|
@ -43,22 +43,22 @@ impl UpscaleModel {
|
|||
/// Get the model identifier string for FFmpeg
|
||||
pub fn as_str(&self) -> &'static str {
|
||||
match self {
|
||||
Self::Iris3 => "iris-3",
|
||||
Self::Iris2 => "iris-2",
|
||||
Self::Ahq12 => "ahq-12",
|
||||
Self::Alq13 => "alq-13",
|
||||
Self::Alqs2 => "alqs-2",
|
||||
Self::Amq13 => "amq-13",
|
||||
Self::Amqs2 => "amqs-2",
|
||||
Self::Ghq5 => "ghq-5",
|
||||
Self::Nyx3 => "nyx-3",
|
||||
Self::Prob4 => "prob-4",
|
||||
Self::Thf4 => "thf-4",
|
||||
Self::Thd3 => "thd-3",
|
||||
Self::Thm2 => "thm-2",
|
||||
Self::Rhea1 => "rhea-1",
|
||||
Self::Rxl1 => "rxl-1",
|
||||
Self::Aaa9 => "aaa-9",
|
||||
Self::Iris3 => "iris",
|
||||
Self::Iris2 => "iris",
|
||||
Self::Ahq12 => "ahq",
|
||||
Self::Alq13 => "alq",
|
||||
Self::Alqs2 => "alqs",
|
||||
Self::Amq13 => "amq",
|
||||
Self::Amqs2 => "amqs",
|
||||
Self::Ghq5 => "ghq",
|
||||
Self::Nyx3 => "nyx",
|
||||
Self::Prob4 => "prob",
|
||||
Self::Thf4 => "thf",
|
||||
Self::Thd3 => "thd",
|
||||
Self::Thm2 => "thm",
|
||||
Self::Rhea1 => "rhea",
|
||||
Self::Rxl1 => "rxl",
|
||||
Self::Aaa9 => "aaa",
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue