Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -856,7 +856,7 @@ with gr.Blocks(theme='NoCrypt/miku@>=1.2.2', fill_width=True, css=css, delete_ca
|
|
856 |
progress_bar = gr.Markdown(elem_id="progress",visible=False)
|
857 |
result = gr.Image(label="Generated Image", format="png", type="filepath", show_share_button=False, interactive=False)
|
858 |
with gr.Accordion("History", open=False):
|
859 |
-
history_gallery = gr.Gallery(label="History", columns=4, rows=1
|
860 |
show_share_button=False, show_download_button=True)
|
861 |
history_files = gr.Files(interactive=False, visible=False)
|
862 |
history_clear_button = gr.Button(value="Clear History", variant="secondary")
|
|
|
856 |
progress_bar = gr.Markdown(elem_id="progress",visible=False)
|
857 |
result = gr.Image(label="Generated Image", format="png", type="filepath", show_share_button=False, interactive=False)
|
858 |
with gr.Accordion("History", open=False):
|
859 |
+
history_gallery = gr.Gallery(label="History", columns=4, rows=1, object_fit="contain", interactive=False, format="png",
|
860 |
show_share_button=False, show_download_button=True)
|
861 |
history_files = gr.Files(interactive=False, visible=False)
|
862 |
history_clear_button = gr.Button(value="Clear History", variant="secondary")
|