Spaces:
Runtime error
Runtime error
update steps
Browse files
model.py
CHANGED
@@ -19,7 +19,7 @@ class Model:
|
|
19 |
negative_prompt: str,
|
20 |
guidance_scale:int = 7,
|
21 |
num_images:int = 1,
|
22 |
-
num_steps:int =
|
23 |
):
|
24 |
seed = np.random.randint(0, np.iinfo(np.int64).max)
|
25 |
generator = torch.Generator().manual_seed(seed)
|
|
|
19 |
negative_prompt: str,
|
20 |
guidance_scale:int = 7,
|
21 |
num_images:int = 1,
|
22 |
+
num_steps:int = 20,
|
23 |
):
|
24 |
seed = np.random.randint(0, np.iinfo(np.int64).max)
|
25 |
generator = torch.Generator().manual_seed(seed)
|