update
This commit is contained in:
parent
3e7a553273
commit
1571018cfd
@ -60,6 +60,7 @@ class Kandinsky(DiffusionInpaintModel):
|
||||
output_type="np",
|
||||
callback=self.callback,
|
||||
generator=generator,
|
||||
callback_steps=1,
|
||||
).images[0]
|
||||
|
||||
output = (output * 255).round().astype("uint8")
|
||||
|
@ -17,10 +17,8 @@ from typing import Union, List, Optional, Callable, Dict, Any
|
||||
|
||||
import torch
|
||||
import PIL.Image
|
||||
import numpy as np
|
||||
from diffusers.pipelines.stable_diffusion import StableDiffusionPipelineOutput
|
||||
|
||||
from diffusers.pipelines.stable_diffusion.pipeline_stable_diffusion_controlnet import *
|
||||
from diffusers.pipelines.controlnet.pipeline_controlnet import *
|
||||
from diffusers.utils import replace_example_docstring
|
||||
|
||||
EXAMPLE_DOC_STRING = """
|
||||
|
Loading…
Reference in New Issue
Block a user