Manjushri commited on
Commit
50f43c1
·
1 Parent(s): 2d39516

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -44,7 +44,7 @@ def genie (prompt, negative_prompt, height, width, scale, steps, seed, upscaling
44
  torch.cuda.empty_cache()
45
  return (image, upscaled)
46
  else:
47
- image = refiner(prompt=prompt, prompt_2=prompt_2, negative_prompt=negative_prompt, negative_prompt_2=negative_prompt_2, image=int_image, num_inference_steps=n_steps, denoising_start=high_noise_frac).images[0]
48
  torch.cuda.empty_cache()
49
  return (image, image)
50
 
 
44
  torch.cuda.empty_cache()
45
  return (image, upscaled)
46
  else:
47
+ image = refiner(prompt=prompt, prompt_2=prompt_2, negative_prompt=negative_prompt, negative_prompt_2=negative_prompt_2, image=int_image, denoising_start=high_noise_frac).images[0]
48
  torch.cuda.empty_cache()
49
  return (image, image)
50