Spaces:
Runtime error
Runtime error
Update ip_adapter/attention_processor.py
Browse files
ip_adapter/attention_processor.py
CHANGED
@@ -147,4 +147,4 @@ class IPAttnProcessor(BaseAttnProcessor):
|
|
147 |
if attn.residual_connection:
|
148 |
hidden_states = hidden_states + residual
|
149 |
|
150 |
-
return hidden_states / attn.rescale_output_factor
|
|
|
147 |
if attn.residual_connection:
|
148 |
hidden_states = hidden_states + residual
|
149 |
|
150 |
+
return hidden_states / attn.rescale_output_factor
|