mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-15 22:06:52 +08:00
chore: refurish python code by applying Pylint linter rules (#8322)
This commit is contained in:
@@ -32,7 +32,7 @@ class StableDiffusionTool(BuiltinTool, BaseStabilityAuthorization):
|
||||
|
||||
model = tool_parameters.get("model", "core")
|
||||
|
||||
if model in ["sd3", "sd3-turbo"]:
|
||||
if model in {"sd3", "sd3-turbo"}:
|
||||
payload["model"] = tool_parameters.get("model")
|
||||
|
||||
if model != "sd3-turbo":
|
||||
|
||||
Reference in New Issue
Block a user