Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -128,7 +128,7 @@ with gr.Blocks(css=css) as demo:
|
|
128 |
return [(img, f"Prompt: {p}, Seed: {s}, Width: {w}, Height: {h}, Guidance Scale: {g}, Steps: {n}") for img, p, s, w, h, g, n in history]
|
129 |
|
130 |
history_button = gr.Button("Show History")
|
131 |
-
history_gallery = gr.Gallery(label="History").style(
|
132 |
|
133 |
history_button.click(fn=show_history, inputs=[], outputs=[history_gallery])
|
134 |
|
@@ -139,4 +139,4 @@ with gr.Blocks(css=css) as demo:
|
|
139 |
outputs=[result, seed]
|
140 |
)
|
141 |
|
142 |
-
demo.launch()
|
|
|
128 |
return [(img, f"Prompt: {p}, Seed: {s}, Width: {w}, Height: {h}, Guidance Scale: {g}, Steps: {n}") for img, p, s, w, h, g, n in history]
|
129 |
|
130 |
history_button = gr.Button("Show History")
|
131 |
+
history_gallery = gr.Gallery(label="History").style(scale=2)
|
132 |
|
133 |
history_button.click(fn=show_history, inputs=[], outputs=[history_gallery])
|
134 |
|
|
|
139 |
outputs=[result, seed]
|
140 |
)
|
141 |
|
142 |
+
demo.launch()
|