mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix "config attributes…not expected" diffusers warnings.
This commit is contained in:
parent
8157bff4bc
commit
7c558d5056
@ -83,8 +83,10 @@ class StableDiffusionGeneratorPipeline(StableDiffusionPipeline):
|
||||
scheduler: Union[DDIMScheduler, PNDMScheduler, LMSDiscreteScheduler],
|
||||
safety_checker: Optional[StableDiffusionSafetyChecker],
|
||||
feature_extractor: Optional[CLIPFeatureExtractor],
|
||||
requires_safety_checker: bool = False
|
||||
):
|
||||
super().__init__(vae, text_encoder, tokenizer, unet, scheduler, safety_checker, feature_extractor)
|
||||
super().__init__(vae, text_encoder, tokenizer, unet, scheduler,
|
||||
safety_checker, feature_extractor, requires_safety_checker)
|
||||
|
||||
self.register_modules(
|
||||
vae=vae,
|
||||
|
Loading…
Reference in New Issue
Block a user