Python
fixed fun inp models crash
deepbeepmeep50914b791ebe
diff --git a/models/wan/any2video.py b/models/wan/any2video.pyindex fd643ce..83038bf 100644--- a/models/wan/any2video.py+++ b/models/wan/any2video.py@@ -504,7 +504,7 @@ class WanAny2V:timestep_injection = Falselat_frames = int((frame_num - 1) // self.vae_stride[0]) + 1# image2video- if model_type in ["i2v", "i2v_2_2", "fantasy", "multitalk", "flf2v_720p"]:+ if model_type in ["i2v", "i2v_2_2", "fun_inp_1.3B", "fun_inp", "fantasy", "multitalk", "flf2v_720p"]:any_end_frame = Falseif image_start is None:_ , preframes_count, height, width = input_video.shapediff --git a/wgp.py b/wgp.pyindex a5f77ce..14f4c07 100644--- a/wgp.py+++ b/wgp.py@@ -1512,7 +1512,7 @@ def _parse_args():"--perc-reserved-mem-max",type=float,default=0,- help="% of RAM allocated to Reserved RAM"+ help="percent of RAM allocated to Reserved RAM")