Spaces:
Sleeping
Sleeping
Pedro Cuenca
commited on
Commit
·
eeca189
1
Parent(s):
6cad18a
Fix typo in walrus op that selected the wrong seed!
Browse files
app.py
CHANGED
@@ -39,7 +39,7 @@ with gr.Blocks(css=".container { max-width: 800px; margin: auto; }") as demo:
|
|
39 |
image_with_seed = None
|
40 |
visible = (False, False)
|
41 |
|
42 |
-
if seed_index := state["selected"] > -1:
|
43 |
seed = state["seeds"][seed_index]
|
44 |
image_with_seed = infer_seeded_image(prompt, seed)
|
45 |
visible = (False, True)
|
|
|
39 |
image_with_seed = None
|
40 |
visible = (False, False)
|
41 |
|
42 |
+
if (seed_index := state["selected"]) > -1:
|
43 |
seed = state["seeds"][seed_index]
|
44 |
image_with_seed = infer_seeded_image(prompt, seed)
|
45 |
visible = (False, True)
|