Remove a border and allow more characters per pagination page

This commit is contained in:
oobabooga 2023-03-31 00:48:50 -03:00
parent f9940b79dc
commit 3737eafeaa
2 changed files with 6 additions and 1 deletions

View file

@ -92,7 +92,8 @@ def ui():
gallery = gr.Dataset(components=[gr.HTML(visible=False)],
label="",
samples=generate_html(),
elem_classes=["character-gallery"]
elem_classes=["character-gallery"],
samples_per_page=50
)
update.click(generate_html, [], gallery)
gallery.select(select_character, None, gradio['character_menu'])