Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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 |
-
|
72 |
guidance_scale=guidance_scale,
|
73 |
num_inference_steps=steps, generator=generator, output_type="latent",
|
74 |
-
).images
|
75 |
refine = refiner(
|
76 |
-
prompt=
|
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,
|