Spaces:
Runtime error
Runtime error
Change the max value of the random seed for the simple interface
Browse files
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,
|
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)
|