Commit 048d419c authored by Eren Doğan's avatar Eren Doğan Committed by GitHub

always 50 images if there is a step

parent b40b4e76
......@@ -233,6 +233,7 @@ class StableDiffusionModel(nn.Module):
np.random.seed(request.seed)
if request.image is not None:
request.steps = 50
#request.sampler = "ddim_img2img" #enforce ddim for now
if request.sampler == "plms":
request.sampler = "k_lms"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment