Spaces:
Running
on
Zero
Running
on
Zero
ResearcherXman
commited on
Commit
•
a1001d0
1
Parent(s):
08c0879
update
Browse files
pipeline_stable_diffusion_xl_instantid_full.py
CHANGED
@@ -42,10 +42,7 @@ from diffusers.utils.import_utils import is_xformers_available
|
|
42 |
from ip_adapter.resampler import Resampler
|
43 |
from ip_adapter.utils import is_torch2_available
|
44 |
|
45 |
-
|
46 |
-
from ip_adapter.attention_processor import IPAttnProcessor2_0 as IPAttnProcessor, AttnProcessor2_0 as AttnProcessor
|
47 |
-
else:
|
48 |
-
from ip_adapter.attention_processor import IPAttnProcessor, AttnProcessor
|
49 |
from ip_adapter.attention_processor import region_control
|
50 |
|
51 |
logger = logging.get_logger(__name__) # pylint: disable=invalid-name
|
|
|
42 |
from ip_adapter.resampler import Resampler
|
43 |
from ip_adapter.utils import is_torch2_available
|
44 |
|
45 |
+
from ip_adapter.attention_processor import IPAttnProcessor, AttnProcessor
|
|
|
|
|
|
|
46 |
from ip_adapter.attention_processor import region_control
|
47 |
|
48 |
logger = logging.get_logger(__name__) # pylint: disable=invalid-name
|