Manjushri commited on
Commit
15aeac6
1 Parent(s): 35b8f44

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ upscaler = upscaler.to(device)
15
  upscaler.enable_xformers_memory_efficient_attention()
16
 
17
 
18
- def genie (Prompt, negative_prompt, height, width, scale, steps, seed, upscale):
19
  generator = torch.Generator(device=device).manual_seed(seed)
20
  if upscale == "Yes":
21
  low_res_latents = pipe(Prompt, negative_prompt=negative_prompt, height=height, width=width, num_inference_steps=steps, guidance_scale=scale, generator=generator, output_type="latent").images
 
15
  upscaler.enable_xformers_memory_efficient_attention()
16
 
17
 
18
+ def genie (Prompt, negative_prompt, height, width, scale, steps, Seed, upscale):
19
  generator = torch.Generator(device=device).manual_seed(seed)
20
  if upscale == "Yes":
21
  low_res_latents = pipe(Prompt, negative_prompt=negative_prompt, height=height, width=width, num_inference_steps=steps, guidance_scale=scale, generator=generator, output_type="latent").images