|
if clipvision_file != self.clipvision['file']: |
|
if clipvision_file != pipeline['clipvision']['file']: |
|
self.clipvision['file'] = clipvision_file |
|
self.clipvision['model'] = load_clip_vision(clipvision_file) |
when load_clip_vision got exception (OOM or file corrupt, ...), self.clipvision['model'] is not updated, and if clipvision_file != self.clipvision['file'] won't enter again.
ComfyUI_IPAdapter_plus/IPAdapterPlus.py
Lines 587 to 590 in a0f451a
when
load_clip_visiongot exception (OOM or file corrupt, ...),self.clipvision['model']is not updated, andif clipvision_file != self.clipvision['file']won't enter again.