From eb0c81d89228da1d84caf0dfb19de0cbbaf34d8a Mon Sep 17 00:00:00 2001 From: Kelly Jerrell Date: Tue, 22 Apr 2025 20:43:20 -0700 Subject: [PATCH] add numframes versions --- web/widgets.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/widgets.js b/web/widgets.js index b688bf2..bdfb386 100644 --- a/web/widgets.js +++ b/web/widgets.js @@ -2,6 +2,7 @@ import { app } from "../../scripts/app.js"; import { setCallback } from "./dynamicInputs.js"; const teaCacheVersions = ["svd_i2v", "Video", "wan", "flux1", "wan_v2.1_1.3b"]; +const numFramesVersions = ["svd_i2v", "Video", "wan", "wan_v2.1_1.3b"]; const allWidgets = [ "settings", @@ -169,7 +170,7 @@ function widgetLogic(node, widget) { } showWidget(node, "speed_up", isFlux); - showWidget(node, "num_frames", isVideo); + showWidget(node, "num_frames", numFramesVersions.includes(version)); break; case "high_res_fix":