Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -68,8 +68,8 @@ def create_image(image_pil,
|
|
| 68 |
else: # If it's already a PIL Image
|
| 69 |
style_image = image_pil.convert('RGB')
|
| 70 |
|
| 71 |
-
|
| 72 |
-
generator = torch.Generator(
|
| 73 |
|
| 74 |
image = pipe(
|
| 75 |
width=1024,
|
|
|
|
| 68 |
else: # If it's already a PIL Image
|
| 69 |
style_image = image_pil.convert('RGB')
|
| 70 |
|
| 71 |
+
|
| 72 |
+
generator = torch.Generator().manual_seed(randomize_seed_fn(seed, True))
|
| 73 |
|
| 74 |
image = pipe(
|
| 75 |
width=1024,
|