fix: ci issues(missing duckduckgo-search==6.2.11, ruff lint issue) (#8543)

This commit is contained in:
takatost
2024-09-19 11:43:00 +08:00
committed by GitHub
parent 2721cb8dee
commit 54b9e1f6d1
2 changed files with 14 additions and 14 deletions

View File

@@ -290,7 +290,7 @@ class ComfyuiStableDiffusionTool(BuiltinTool):
draw_options["6"]["inputs"]["text"] = prompt
draw_options["7"]["inputs"]["text"] = negative_prompt
# if the model is SD3 or FLUX series, the Latent class should be corresponding to SD3 Latent
if model_type in (ModelType.SD3.name, ModelType.FLUX.name):
if model_type in {ModelType.SD3.name, ModelType.FLUX.name}:
draw_options["5"]["class_type"] = "EmptySD3LatentImage"
if lora_list: