Manjushri commited on
Commit
0b6166d
1 Parent(s): cdd3e1a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,7 +20,7 @@ def genie (Prompt, negative_prompt, height, width, scale, steps, seed, upscale):
20
  #n_steps = 30
21
  #high_noise_frac = 0.95
22
  int_image = pipe(Prompt, negative_prompt=negative_prompt, height=height, width=width, num_inference_steps=steps, guidance_scale=scale).images[0]
23
- image = refiner(Prompt, negative_prompt=negative_prompt, image=int_image).images[0]
24
  return (int_image, image)
25
  else:
26
  image = pipe(Prompt, negative_prompt=negative_prompt, height=height, width=width, num_inference_steps=steps, guidance_scale=scale).images[0]
 
20
  #n_steps = 30
21
  #high_noise_frac = 0.95
22
  int_image = pipe(Prompt, negative_prompt=negative_prompt, height=height, width=width, num_inference_steps=steps, guidance_scale=scale).images[0]
23
+ image = refiner(Prompt, negative_prompt=negative_prompt, image=int_image, height=height*2, width=width*2,).images[0]
24
  return (int_image, image)
25
  else:
26
  image = pipe(Prompt, negative_prompt=negative_prompt, height=height, width=width, num_inference_steps=steps, guidance_scale=scale).images[0]