From 5cb59ec52bbaa8dae73c1adbeeb64645f30568f6 Mon Sep 17 00:00:00 2001 From: Chengxi Guo Date: Tue, 4 Mar 2025 16:41:03 +0800 Subject: [PATCH] fix resolution if reload webpage (#86) Signed-off-by: mymusise --- gradio/i2v_14B_singleGPU.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gradio/i2v_14B_singleGPU.py b/gradio/i2v_14B_singleGPU.py index fd94236..35c1e08 100644 --- a/gradio/i2v_14B_singleGPU.py +++ b/gradio/i2v_14B_singleGPU.py @@ -80,6 +80,7 @@ def load_model(value): ) print("done", flush=True) return '480P' + return value def prompt_enc(prompt, img, tar_lang):