forgot that legacy comment

This commit is contained in:
BigStationW 2025-05-07 01:42:29 +02:00 committed by GitHub
parent df8a1b1107
commit 8af5c6571e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -205,6 +205,7 @@ class CLIP:
cond, pooled = o[:2] cond, pooled = o[:2]
pooled_dict = {"pooled_output": pooled} pooled_dict = {"pooled_output": pooled}
# add clip_start_percent and clip_end_percent in pooled
if len(o) > 2 and isinstance(o[2], dict): if len(o) > 2 and isinstance(o[2], dict):
pooled_dict.update(o[2]) pooled_dict.update(o[2])