Manjushri commited on
Commit
c0f24b0
·
1 Parent(s): 9e62359

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -27,7 +27,7 @@ else:
27
 
28
  def genie (prompt, negative_prompt, height, width, scale, steps, seed, prompt_2, negative_prompt_2, high_noise_frac):
29
  generator = np.random.seed(0) if seed == 0 else torch.manual_seed(seed)
30
- int_image = pipe(prompt, prompt_2=prompt_2, height=height, width=width, num_inference_steps=steps, num_images_per_prompt=1, generator=generator).images[0]
31
  #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]
32
  return int_image
33
 
 
27
 
28
  def genie (prompt, negative_prompt, height, width, scale, steps, seed, prompt_2, negative_prompt_2, high_noise_frac):
29
  generator = np.random.seed(0) if seed == 0 else torch.manual_seed(seed)
30
+ int_image = pipe(prompt, prompt_2=prompt_2, height=height, width=width, num_inference_steps=steps, num_images_per_prompt=1, generator=generator, guidance_scale=0.0).images[0]
31
  #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]
32
  return int_image
33