mirror of
https://github.com/huggingface/diffusers.git
synced 2026-01-27 17:22:53 +03:00
add Instant id sdxl image2image pipeline (#7507)
* initial commit - instantid img2img * adapting to img2img * change add_time_ids * change add_time_ids * WIP changes * add strength to timesteps * check insightface import * style * check insightface import changed to warning * check insightface import changed to warning * style --------- Co-authored-by: apolinário <joaopaulo.passos@gmail.com>
This commit is contained in:
1077
examples/community/pipeline_stable_diffusion_xl_instandid_img2img.py
Normal file
1077
examples/community/pipeline_stable_diffusion_xl_instandid_img2img.py
Normal file
File diff suppressed because it is too large
Load Diff
@@ -46,6 +46,11 @@ except Exception:
|
||||
|
||||
logger = logging.get_logger(__name__) # pylint: disable=invalid-name
|
||||
|
||||
logger.warning(
|
||||
"To use instant id pipelines, please make sure you have the `insightface` library installed: `pip install insightface`."
|
||||
"Please refer to: https://huggingface.co/InstantX/InstantID for further instructions regarding inference"
|
||||
)
|
||||
|
||||
|
||||
def FeedForward(dim, mult=4):
|
||||
inner_dim = int(dim * mult)
|
||||
|
||||
Reference in New Issue
Block a user