CultriX commited on
Commit
4be843d
1 Parent(s): 873386d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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(grid=[2, 2], height="auto")
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()