Manjushri commited on
Commit
5a26061
·
1 Parent(s): 7536be8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -46,8 +46,7 @@ def genie (prompt, negative_prompt, height, width, scale, steps, seed, upscaling
46
  torch.cuda.empty_cache()
47
  return (image, upscaled)
48
  else:
49
- 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,
50
- denoising_start=high_noise_frac).images[0]
51
  torch.cuda.empty_cache()
52
  return (image, image)
53
 
 
46
  torch.cuda.empty_cache()
47
  return (image, upscaled)
48
  else:
49
+ 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]
 
50
  torch.cuda.empty_cache()
51
  return (image, image)
52