Spaces:
Runtime error
Runtime error
Update stable_cascade.py
Browse files- stable_cascade.py +1 -1
stable_cascade.py
CHANGED
@@ -31,7 +31,7 @@ def generate_images(
|
|
31 |
Returns:
|
32 |
- List[PIL.Image]: A list of generated PIL Image objects.
|
33 |
"""
|
34 |
-
generator = torch.Generator(device="cuda").manual_seed(seed)
|
35 |
|
36 |
# Generate image embeddings using the prior model
|
37 |
prior_output = prior(
|
|
|
31 |
Returns:
|
32 |
- List[PIL.Image]: A list of generated PIL Image objects.
|
33 |
"""
|
34 |
+
generator = torch.Generator(device="cuda").manual_seed(int(seed))
|
35 |
|
36 |
# Generate image embeddings using the prior model
|
37 |
prior_output = prior(
|