generator
Browse files- app-img2img.py +1 -1
app-img2img.py
CHANGED
@@ -59,7 +59,7 @@ def predict(input_image, prompt, guidance_scale=8.0, strength=0.5, seed=2159232)
|
|
59 |
num_inference_steps = 3
|
60 |
results = pipe(
|
61 |
prompt=prompt,
|
62 |
-
|
63 |
image=input_image,
|
64 |
strength=strength,
|
65 |
num_inference_steps=num_inference_steps,
|
|
|
59 |
num_inference_steps = 3
|
60 |
results = pipe(
|
61 |
prompt=prompt,
|
62 |
+
generator=generator,
|
63 |
image=input_image,
|
64 |
strength=strength,
|
65 |
num_inference_steps=num_inference_steps,
|