raw_text output for LLamaCPPCLIPTextEncode(LLamaCPP Universal)
This commit is contained in:
+2
-2
@@ -248,8 +248,8 @@ class MZ_LLamaCPPCLIPTextEncode:
|
||||
},
|
||||
}
|
||||
|
||||
RETURN_TYPES = ("STRING", "CONDITIONING",)
|
||||
RETURN_NAMES = ("text", "conditioning",)
|
||||
RETURN_TYPES = ("STRING", "CONDITIONING", "STRING")
|
||||
RETURN_NAMES = ("text", "conditioning","text_raw")
|
||||
OUTPUT_NODE = True
|
||||
FUNCTION = "encode"
|
||||
CATEGORY = CATEGORY_NAME
|
||||
|
||||
@@ -235,7 +235,7 @@ def llama_cpp_node_encode(args_dict):
|
||||
conditionings = mz_prompt_utils.Utils.a1111_clip_text_encode(
|
||||
clip, response, )
|
||||
|
||||
return {"ui": {"string": [mz_prompt_utils.Utils.to_debug_prompt(response, translate_option),]}, "result": (response, conditionings)}
|
||||
return {"ui": {"string": [mz_prompt_utils.Utils.to_debug_prompt(response, translate_option),]}, "result": (response, conditionings, response)}
|
||||
|
||||
|
||||
def image_interrogator_captioner(args_dict):
|
||||
|
||||
Reference in New Issue
Block a user