mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2026-03-10 15:43:50 +01:00
Populate the history gallery by default
This commit is contained in:
parent
e301dd231e
commit
9b07a83330
|
|
@ -153,7 +153,7 @@ def create_ui():
|
|||
with gr.TabItem("Gallery"):
|
||||
with gr.Row():
|
||||
shared.gradio['image_refresh_history'] = gr.Button("🔄 Refresh Gallery", elem_classes="refresh-button")
|
||||
shared.gradio['image_history_gallery'] = gr.Gallery(label="History", show_label=False, columns=6, object_fit="cover", height="auto", allow_preview=True, elem_id="image-history-gallery")
|
||||
shared.gradio['image_history_gallery'] = gr.Gallery(value=lambda : get_history_images(), label="History", show_label=False, columns=6, object_fit="cover", height="auto", allow_preview=True, elem_id="image-history-gallery")
|
||||
|
||||
# TAB 3: MODEL
|
||||
with gr.TabItem("Model"):
|
||||
|
|
|
|||
Loading…
Reference in a new issue