From 71a6fb94e8d8e044ffba214c5db9bf4c0d0418a0 Mon Sep 17 00:00:00 2001 From: DeepBeepMeep Date: Mon, 7 Apr 2025 19:38:39 +0200 Subject: [PATCH] fixed Vace resolution test --- wgp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wgp.py b/wgp.py index f0a1df3..d3e2fd5 100644 --- a/wgp.py +++ b/wgp.py @@ -158,7 +158,7 @@ def process_prompt_and_add_tasks(state, model_choice): # VACE specific validation (e.g., resolution) if "1.3B" in model_filename: - resolution_reformated = f"{height}x{width}" # Check VACE_SIZE_CONFIGS format + resolution_reformated = f"{height}*{width}" # Check VACE_SIZE_CONFIGS format if resolution_reformated not in VACE_SIZE_CONFIGS: allowed_res = " and ".join(VACE_SIZE_CONFIGS.keys()) gr.Info(f"Video Resolution {resolution} for Vace 1.3B model is not supported. Only {allowed_res} resolutions are allowed.")