Menyu commited on
Commit
625830f
1 Parent(s): edda1c8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -8
app.py CHANGED
@@ -53,14 +53,14 @@ def generate(
53
  seed = int(randomize_seed_fn(seed, randomize_seed))
54
  generator = torch.Generator().manual_seed(seed)
55
  image = pipe(
56
- "prompt":prompt,
57
- "negative_prompt":negative_prompt,
58
- "width":width,
59
- "height":height,
60
- "guidance_scale":guidance_scale,
61
- "num_inference_steps":num_inference_steps,
62
- "generator":generator,
63
- "use_resolution_binning":use_resolution_binning,
64
  ).images[0]
65
  return image, seed
66
 
 
53
  seed = int(randomize_seed_fn(seed, randomize_seed))
54
  generator = torch.Generator().manual_seed(seed)
55
  image = pipe(
56
+ prompt=prompt,
57
+ negative_prompt=negative_prompt,
58
+ width=width,
59
+ height=height,
60
+ guidance_scale=guidance_scale,
61
+ num_inference_steps=num_inference_steps,
62
+ generator=generator,
63
+ use_resolution_binning=use_resolution_binning,
64
  ).images[0]
65
  return image, seed
66