Fixed crash with memory profile <4

This commit is contained in:
DeepBeepMeep 2025-03-25 08:43:25 +01:00
parent d7fcce24c3
commit 91e35a806c
2 changed files with 3 additions and 3 deletions

View File

@ -23,7 +23,7 @@ import asyncio
from wan.utils import prompt_parser
PROMPT_VARS_MAX = 10
target_mmgp_version = "3.3.2"
target_mmgp_version = "3.3.3"
from importlib.metadata import version
mmgp_version = version("mmgp")
if mmgp_version != target_mmgp_version:
@ -1671,7 +1671,7 @@ def get_settings_dict(state, i2v, prompt, image_prompt_type, video_length, resol
if i2v:
ui_settings["type"] = "Wan2.1GP by DeepBeepMeep - image2video"
ui_settings["image_prompt_type"] = image_prompt_type,
ui_settings["image_prompt_type"] = image_prompt_type
else:
ui_settings["type"] = "Wan2.1GP by DeepBeepMeep - text2video"

View File

@ -16,6 +16,6 @@ gradio>=5.0.0
numpy>=1.23.5,<2
einops
moviepy==1.0.3
mmgp==3.3.2
mmgp==3.3.3
peft==0.14.0
mutagen