Skip to content

Commit

Permalink
For Ruff check
Browse files Browse the repository at this point in the history
  • Loading branch information
QunBB committed Sep 18, 2024
1 parent 6f636e1 commit a9f024d
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit a9f024d

Please sign in to comment.