Spaces:
Running
on
L40S
Running
on
L40S
Commit
•
d4c4f8f
1
Parent(s):
897c8e5
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
|