Update PromptEmbedMango.py
String connector is no longer mandatory
This commit is contained in:
+6
-1
@@ -51,7 +51,12 @@ class PromptEmbedMango:
|
||||
FUNCTION = "execute"
|
||||
CATEGORY = "Mango Node Pack/Metadata"
|
||||
|
||||
def execute(self, QualityTags, SceneDescription, Tags, Embeddings, string=""):
|
||||
def execute(self, QualityTags="", SceneDescription="", Tags="", Embeddings="", string=None):
|
||||
|
||||
if string is None:
|
||||
string = ""
|
||||
|
||||
parts = [s.strip() for s in (QualityTags, SceneDescription, Tags, Embeddings, string) if s.strip()]
|
||||
concatenated = ", ".join(parts)
|
||||
|
||||
return (concatenated,)
|
||||
|
||||
Reference in New Issue
Block a user