Skip to content

Commit 329b9ee

Browse files
committed
Lint format corrections
1 parent e305386 commit 329b9ee

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

ai_diffusion/comfy_workflow.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -499,15 +499,13 @@ def load_inpaint_model(self, model_name: str):
499499
def load_fooocus_inpaint(self, head: str, patch: str):
500500
return self.add_cached("INPAINT_LoadFooocusInpaint", 1, head=head, patch=patch)
501501

502-
def nunchaku_load_flux_diffusion_model(
503-
self, model_path: str, cache_threshold: float
504-
):
502+
def nunchaku_load_flux_diffusion_model(self, model_path: str, cache_threshold: float):
505503
return self.add_cached(
506504
"NunchakuFluxDiTLoader", 1, model_path=model_path, cache_threshold=cache_threshold
507505
)
508506

509507
def nunchaku_load_qwen_diffusion_model(
510-
self, model_name: str, cpu_offload: str, num_blocks_on_gpu: int, use_pin_memory: str
508+
self, model_name: str, cpu_offload: str, num_blocks_on_gpu: int, use_pin_memory: str
511509
):
512510
return self.add_cached(
513511
"NunchakuQwenImageDiTLoader",
@@ -602,7 +600,7 @@ def reference_latent(self, conditioning: Output, latent: Output):
602600
return self.add("ReferenceLatent", 1, conditioning=conditioning, latent=latent)
603601

604602
def text_encode_qwen_image_edit(
605-
self, clip: Output, vae: Output | None, image: Output, prompt: str | Output
603+
self, clip: Output, vae: Output | None, image: Output, prompt: str | Output
606604
):
607605
return self.add(
608606
"TextEncodeQwenImageEdit", 1, clip=clip, vae=vae, image=image, prompt=prompt

ai_diffusion/ui/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ def _workload_matches(self, item: PackageItem):
201201
Arch.flux_k,
202202
Arch.chroma,
203203
Arch.qwen,
204-
Arch.qwen_e
204+
Arch.qwen_e,
205205
]
206206
)
207207

0 commit comments

Comments
 (0)