Update app.py
Browse files
app.py
CHANGED
@@ -79,19 +79,19 @@ def generate(input=DEFAULT_INPUT, filter_input="", negative_input=DEFAULT_NEGATI
|
|
79 |
print(input, filter_input, negative_input, model, height, width, steps, guidance, number, seed)
|
80 |
|
81 |
if model == "Realistic":
|
82 |
-
steps_set =
|
83 |
guidance_set = 7
|
84 |
elif model == "Anime":
|
85 |
-
steps_set =
|
86 |
guidance_set = 7
|
87 |
elif model == "Pixel":
|
88 |
-
steps_set =
|
89 |
guidance_set = 1.5
|
90 |
elif model == "Large":
|
91 |
-
steps_set =
|
92 |
guidance_set = 7
|
93 |
else:
|
94 |
-
steps_set =
|
95 |
guidance_set = 3
|
96 |
|
97 |
if not steps or steps < 0:
|
|
|
79 |
print(input, filter_input, negative_input, model, height, width, steps, guidance, number, seed)
|
80 |
|
81 |
if model == "Realistic":
|
82 |
+
steps_set = 35
|
83 |
guidance_set = 7
|
84 |
elif model == "Anime":
|
85 |
+
steps_set = 20
|
86 |
guidance_set = 7
|
87 |
elif model == "Pixel":
|
88 |
+
steps_set = 10
|
89 |
guidance_set = 1.5
|
90 |
elif model == "Large":
|
91 |
+
steps_set = 20
|
92 |
guidance_set = 7
|
93 |
else:
|
94 |
+
steps_set = 20
|
95 |
guidance_set = 3
|
96 |
|
97 |
if not steps or steps < 0:
|