Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -166,7 +166,7 @@ inputs = [
|
|
166 |
gr.Text(label="Text prompt (optional)", value=None),
|
167 |
gr.Slider(label="prompt_guidance_scale (...)", minimum=0, maximum=1000, value=10),
|
168 |
gr.Slider(label="prompt_n_cuts", minimum=4, maximum=12, step=4),
|
169 |
-
gr.Slider(label="Number of inference steps (+ steps -> + guidance effect)",
|
170 |
]
|
171 |
|
172 |
outputs = gr.Image(label="result")
|
@@ -179,11 +179,11 @@ demo = gr.Interface(
|
|
179 |
css=CSS,
|
180 |
examples=[
|
181 |
["#DF5C16", 6.7, 12, 666, None, None, None, 40],
|
182 |
-
["#C01660", 13.5, 12, 1990, None, None, None, 40],
|
183 |
["#44CCAA", 8.9, 12, 1512, None, None, None, 40],
|
184 |
-
["#39A291", 5.0, 12, 666, "A sakura tree", 60,
|
185 |
-
["#0E0907", 0.0, 12, 666, "A big whale in the ocean", 60, 8, 52],
|
186 |
-
["#19A617", 4.6, 12, 666, "An island with sunset at background", 140,
|
187 |
],
|
188 |
title=TITLE,
|
189 |
description=DESCRIPTION,
|
|
|
166 |
gr.Text(label="Text prompt (optional)", value=None),
|
167 |
gr.Slider(label="prompt_guidance_scale (...)", minimum=0, maximum=1000, value=10),
|
168 |
gr.Slider(label="prompt_n_cuts", minimum=4, maximum=12, step=4),
|
169 |
+
gr.Slider(label="Number of inference steps (+ steps -> + guidance effect)", minimum=40, maximum=60, value=40, step=1),
|
170 |
]
|
171 |
|
172 |
outputs = gr.Image(label="result")
|
|
|
179 |
css=CSS,
|
180 |
examples=[
|
181 |
["#DF5C16", 6.7, 12, 666, None, None, None, 40],
|
182 |
+
#["#C01660", 13.5, 12, 1990, None, None, None, 40],
|
183 |
["#44CCAA", 8.9, 12, 1512, None, None, None, 40],
|
184 |
+
["#39A291", 5.0, 12, 666, "A sakura tree", 60, 4, 52],
|
185 |
+
#["#0E0907", 0.0, 12, 666, "A big whale in the ocean", 60, 8, 52],
|
186 |
+
["#19A617", 4.6, 12, 666, "An island with sunset at background", 140, 4, 47],
|
187 |
],
|
188 |
title=TITLE,
|
189 |
description=DESCRIPTION,
|