Fixed missing file box for phantom 14B

This commit is contained in:
deepbeepmeep 2025-06-23 09:57:01 +02:00 committed by GitHub
parent a790dd8432
commit 5ac92945ce
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

2
wgp.py
View File

@ -1768,7 +1768,7 @@ def fix_settings(model_type, ui_defaults):
return return
video_prompt_type = ui_defaults.get("video_prompt_type", "") video_prompt_type = ui_defaults.get("video_prompt_type", "")
if model_type in ["hunyuan_custom", "hunyuan_custom_edit", "hunyuan_custom_audio", "hunyuan_avatar", "phantom", "phantom_1.3B"]: if model_type in ["hunyuan_custom", "hunyuan_custom_edit", "hunyuan_custom_audio", "hunyuan_avatar", "phantom_14B", "phantom_1.3B"]:
if not "I" in video_prompt_type: # workaround for settings corruption if not "I" in video_prompt_type: # workaround for settings corruption
video_prompt_type += "I" video_prompt_type += "I"
if model_type in ["hunyuan"]: if model_type in ["hunyuan"]: