kadirnar commited on
Commit
7e1ec9f
1 Parent(s): d1b6cf8

Update stable_cascade.py

Browse files
Files changed (1) hide show
  1. 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(