File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -148,7 +148,7 @@ def _update_is_supported(self):
148148 self .error_text = _ ("The server is missing the ClipVision model" ) + f" { search } "
149149 is_supported = False
150150
151- if self .mode .is_ip_adapter and models .arch is Arch .flux_k :
151+ if self .mode .is_ip_adapter and models .arch in ( Arch .flux_k , Arch . qwen_e , Arch . qwen_e_p ) :
152152 is_supported = True # Reference images are merged into the conditioning context
153153 elif self .mode .is_ip_adapter and models .ip_adapter .find (self .mode ) is None :
154154 search_path = resources .search_path (ResourceKind .ip_adapter , models .arch , self .mode )
Original file line number Diff line number Diff line change @@ -568,8 +568,8 @@ def apply_ip_adapter(
568568 models : ModelDict ,
569569 mask : Output | None = None ,
570570):
571- if models .arch .is_flux_like :
572- return model # No IP-adapter for Flux, using Style model instead
571+ if models .arch .is_flux_like or models . arch . is_qwen_like :
572+ return model # No IP-adapter for Flux or Qwen , using Style model instead
573573
574574 models = models .ip_adapter
575575
You can’t perform that action at this time.
0 commit comments