hysts HF staff commited on
Commit
0dc864d
1 Parent(s): b6c80e7

Change the max value of the random seed for the simple interface

Browse files
Files changed (1) hide show
  1. model.py +1 -1
model.py CHANGED
@@ -129,6 +129,6 @@ class Model:
129
 
130
  def run_simple(self) -> PIL.Image.Image:
131
  self.set_pipeline(self.MODEL_NAMES[0], 'DDIM')
132
- seed = self.rng.randint(0, 100000)
133
  images = self.generate(seed, num_steps=10, num_images=4)
134
  return self.to_grid(images, 2)
 
129
 
130
  def run_simple(self) -> PIL.Image.Image:
131
  self.set_pipeline(self.MODEL_NAMES[0], 'DDIM')
132
+ seed = self.rng.randint(0, 1000000)
133
  images = self.generate(seed, num_steps=10, num_images=4)
134
  return self.to_grid(images, 2)