From 0931ed501b1a0dfd62534b452afb02256dfc57cc Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Mon, 4 Dec 2023 07:25:18 -0800 Subject: [PATCH] Minor changes --- extensions/gallery/script.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/extensions/gallery/script.py b/extensions/gallery/script.py index d520abb5..739d5841 100644 --- a/extensions/gallery/script.py +++ b/extensions/gallery/script.py @@ -5,6 +5,7 @@ import gradio as gr from modules.html_generator import get_image_cache from modules.shared import gradio, settings + cards = [] @@ -109,6 +110,7 @@ def ui(): filter_box = gr.Textbox(label='', placeholder='Filter', lines=1, max_lines=1, container=False, elem_id='gallery-filter-box') gr.ClearButton(filter_box, value='🗑️', elem_classes='refresh-button') update = gr.Button("Refresh", elem_classes='refresh-button') + gallery = gr.Dataset( components=[gr.HTML(visible=False)], label="",