Skip to content

Commit

Permalink
fix: ci issues(missing duckduckgo-search==6.2.11, ruff lint issue)
Browse files Browse the repository at this point in the history
  • Loading branch information
takatost committed Sep 19, 2024
1 parent 2721cb8 commit 473deed
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ def text2img(
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:
Expand Down
26 changes: 13 additions & 13 deletions api/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 473deed

Please sign in to comment.