Update app.py
Browse files
app.py
CHANGED
@@ -67,7 +67,7 @@ def generate(input=DEFAULT_INPUT, filter_input="", negative_input=DEFAULT_NEGATI
|
|
67 |
print(input, filter_input, negative_input, model, height, width, steps, guidance, number, seed)
|
68 |
|
69 |
if model == "Anime":
|
70 |
-
steps = (not steps or steps < 0 and
|
71 |
guidance = (not guidance or guidance < 0 and 7) or guidance
|
72 |
else:
|
73 |
steps = (not steps or steps < 0 and 16) or steps
|
|
|
67 |
print(input, filter_input, negative_input, model, height, width, steps, guidance, number, seed)
|
68 |
|
69 |
if model == "Anime":
|
70 |
+
steps = (not steps or steps < 0 and 16) or steps
|
71 |
guidance = (not guidance or guidance < 0 and 7) or guidance
|
72 |
else:
|
73 |
steps = (not steps or steps < 0 and 16) or steps
|