KingNish commited on
Commit
7921b80
1 Parent(s): 6b67715

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -68,12 +68,12 @@ def king(type ,
68
  seed = random.randint(0, 99999)
69
  generator = torch.manual_seed(seed)
70
  output_image = pipe_edit(
71
- instructions, image=raw_image,
72
  guidance_scale=guidance_scale,
73
  num_inference_steps=steps, generator=generator, output_type="latent",
74
- ).images
75
  refine = refiner(
76
- prompt=instructions,
77
  guidance_scale=guidance_scale,
78
  num_inference_steps=steps,
79
  image=output_image,
 
68
  seed = random.randint(0, 99999)
69
  generator = torch.manual_seed(seed)
70
  output_image = pipe_edit(
71
+ instruction, image=raw_image,
72
  guidance_scale=guidance_scale,
73
  num_inference_steps=steps, generator=generator, output_type="latent",
74
+ ).images
75
  refine = refiner(
76
+ prompt=instruction,
77
  guidance_scale=guidance_scale,
78
  num_inference_steps=steps,
79
  image=output_image,