[StableDiffusionInpaint] Correct test (#1859)
This commit is contained in:
parent
f2e521c499
commit
03bf877bf4
|
@ -228,7 +228,6 @@ class StableDiffusionInpaintPipelineIntegrationTests(unittest.TestCase):
|
|||
model_id,
|
||||
safety_checker=None,
|
||||
scheduler=pndm,
|
||||
device_map="auto",
|
||||
torch_dtype=torch.float16,
|
||||
)
|
||||
pipe.to(torch_device)
|
||||
|
@ -244,7 +243,7 @@ class StableDiffusionInpaintPipelineIntegrationTests(unittest.TestCase):
|
|||
image=init_image,
|
||||
mask_image=mask_image,
|
||||
generator=generator,
|
||||
num_inference_steps=5,
|
||||
num_inference_steps=2,
|
||||
output_type="np",
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue