mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-08-14 06:03:29 +08:00
ruff
This commit is contained in:
parent
3a5346aa7e
commit
039bf96e8f
@ -64,7 +64,6 @@ class HunyuanImageTEModel(QwenImageTEModel):
|
||||
|
||||
def encode_token_weights(self, token_weight_pairs):
|
||||
tok_pairs = token_weight_pairs["qwen25_7b"][0]
|
||||
count_im_start = 0
|
||||
template_end = -1
|
||||
if tok_pairs[0][0] == 27:
|
||||
if len(tok_pairs) > 36: # refiner prompt uses a fixed 36 template_end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user