mirror of
https://github.com/modelscope/DiffSynth-Studio.git
synced 2026-03-18 22:08:13 +00:00
rename model
This commit is contained in:
@@ -716,8 +716,7 @@ def model_fn_qwen_image(
|
||||
|
||||
image = dit.norm_out(image, conditioning)
|
||||
image = dit.proj_out(image)
|
||||
if edit_latents is not None or context_latents is not None:
|
||||
image = image[:, :image_seq_len]
|
||||
image = image[:, :image_seq_len]
|
||||
|
||||
latents = rearrange(image, "B (H W) (C P Q) -> B C (H P) (W Q)", H=height//16, W=width//16, P=2, Q=2)
|
||||
return latents
|
||||
|
||||
Reference in New Issue
Block a user