Krebzonide commited on
Commit
308c05e
·
1 Parent(s): e5c577f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -29,7 +29,7 @@ def generate(prompt, samp_steps, seed, progress=gr.Progress(track_tqdm=True)):
29
  final_image = img2img(
30
  prompt,
31
  upscaled_image,
32
- num_inference_steps=math.ceil(samp_steps/strength),
33
  guidance_scale=5,
34
  strength=1,
35
  generator=torch.manual_seed(seed),
 
29
  final_image = img2img(
30
  prompt,
31
  upscaled_image,
32
+ num_inference_steps=samp_steps,
33
  guidance_scale=5,
34
  strength=1,
35
  generator=torch.manual_seed(seed),