Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -78,7 +78,7 @@ def process_image(
|
|
| 78 |
ipadapter_scale=scale,
|
| 79 |
width=width,
|
| 80 |
height=height,
|
| 81 |
-
generator=torch.Generator(
|
| 82 |
)
|
| 83 |
|
| 84 |
return result[0], seed
|
|
|
|
| 78 |
ipadapter_scale=scale,
|
| 79 |
width=width,
|
| 80 |
height=height,
|
| 81 |
+
generator=torch.Generator().manual_seed(seed)
|
| 82 |
)
|
| 83 |
|
| 84 |
return result[0], seed
|