Skip to content

Commit 514c24d

Browse files
authored
Fix error from logging line (#11423)
Co-authored-by: ozbayb <[email protected]>
1 parent 809ce68 commit 514c24d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

comfy/context_windows.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ def get_resized_cond(self, cond_in: list[dict], x_in: torch.Tensor, window: Inde
143143
# if multiple conds, split based on primary region
144144
if self.split_conds_to_windows and len(cond_in) > 1:
145145
region = window.get_region_index(len(cond_in))
146-
logging.info(f"Splitting conds to windows; using region {region} for window {window[0]}-{window[-1]} with center ratio {window.center_ratio:.3f}")
146+
logging.info(f"Splitting conds to windows; using region {region} for window {window.index_list[0]}-{window.index_list[-1]} with center ratio {window.center_ratio:.3f}")
147147
cond_in = [cond_in[region]]
148148
# cond object is a list containing a dict - outer list is irrelevant, so just loop through it
149149
for actual_cond in cond_in:

0 commit comments

Comments
 (0)