Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -71,7 +71,6 @@ def predict(dict, prompt="", negative_prompt="", guidance_scale=7.5, steps=30, s
|
|
| 71 |
guidance_scale=guidance_scale,
|
| 72 |
num_inference_steps=int(steps),
|
| 73 |
strength=strength,
|
| 74 |
-
generator=torch.Generator(device="cuda").manual_seed(42),
|
| 75 |
clip_skip=1
|
| 76 |
)
|
| 77 |
inpainted_image = output.images[0]
|
|
|
|
| 71 |
guidance_scale=guidance_scale,
|
| 72 |
num_inference_steps=int(steps),
|
| 73 |
strength=strength,
|
|
|
|
| 74 |
clip_skip=1
|
| 75 |
)
|
| 76 |
inpainted_image = output.images[0]
|