Spaces:
Running
on
Zero
Running
on
Zero
Modified model sample limits: all have min=1, max=18, default=6
Browse files
app.py
CHANGED
@@ -176,9 +176,9 @@ def generate_random_seed():
|
|
176 |
return random.randint(0, 2**32 - 1)
|
177 |
|
178 |
MODEL_SAMPLE_LIMITS = {
|
179 |
-
"S": {"min":1, "max":
|
180 |
-
"B": {"min":1, "max":
|
181 |
-
"L": {"min":1, "max":
|
182 |
}
|
183 |
|
184 |
def update_sample_slider(dit_size):
|
|
|
176 |
return random.randint(0, 2**32 - 1)
|
177 |
|
178 |
MODEL_SAMPLE_LIMITS = {
|
179 |
+
"S": {"min":1, "max": 18, "default": 6},
|
180 |
+
"B": {"min":1, "max": 18, "default": 6},
|
181 |
+
"L": {"min":1, "max": 18, "default": 6}
|
182 |
}
|
183 |
|
184 |
def update_sample_slider(dit_size):
|