mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-24 18:23:07 +08:00
chore: apply pep8-naming rules for naming convention (#8261)
This commit is contained in:
@@ -52,5 +52,5 @@ class StableDiffusionTool(BuiltinTool, BaseStabilityAuthorization):
|
||||
raise Exception(response.text)
|
||||
|
||||
return self.create_blob_message(
|
||||
blob=response.content, meta={"mime_type": "image/png"}, save_as=self.VARIABLE_KEY.IMAGE.value
|
||||
blob=response.content, meta={"mime_type": "image/png"}, save_as=self.VariableKey.IMAGE.value
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user