Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ComfyUI tool use the new internal enumeration class "VariableKey" #8533

Merged
merged 2 commits into from
Sep 20, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
For Ruff check
  • Loading branch information
QunBB committed Sep 18, 2024
commit a9f024dde0f774baed419c9ee2a50122767fa700
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