ComfyUI tool use the new internal enumeration class "VariableKey" (#8533)
This commit is contained in:
parent
c87f710d58
commit
1583283635
1 changed files with 1 additions and 1 deletions
|
|
@ -333,7 +333,7 @@ class ComfyuiStableDiffusionTool(BuiltinTool):
|
||||||
break
|
break
|
||||||
|
|
||||||
return self.create_blob_message(
|
return self.create_blob_message(
|
||||||
blob=image, meta={"mime_type": "image/png"}, save_as=self.VARIABLE_KEY.IMAGE.value
|
blob=image, meta={"mime_type": "image/png"}, save_as=self.VariableKey.IMAGE.value
|
||||||
)
|
)
|
||||||
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue