From 84bb9d1c71648bfee47413e6bb8012fe9dccfc97 Mon Sep 17 00:00:00 2001 From: wailovet Date: Mon, 13 May 2024 01:02:07 +0800 Subject: [PATCH] 'update' --- __init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/__init__.py b/__init__.py index ee28d13..58325d1 100644 --- a/__init__.py +++ b/__init__.py @@ -440,7 +440,8 @@ class MZ_OpenAIApiCLIPTextEncode: common_input = getCommonCLIPTextEncodeInput() for key in common_input["required"]: - result["required"][key] = common_input["required"][key] + if key not in ["seed", "keep_device"]: + result["required"][key] = common_input["required"][key] for key in common_input["optional"]: if key != "llama_cpp_options": result["optional"][key] = common_input["optional"][key]