mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-10-01 01:26:03 -04:00
Remove a border and allow more characters per pagination page
This commit is contained in:
parent
f9940b79dc
commit
3737eafeaa
@ -36,3 +36,7 @@ div.svelte-362y77>*, div.svelte-362y77>.form>* {
|
||||
.wrap.svelte-6roggh.svelte-6roggh {
|
||||
max-height: 92.5%;
|
||||
}
|
||||
|
||||
.gallery-item.svelte-13hsdno.svelte-13hsdno.svelte-13hsdno {
|
||||
border: 0 !important;
|
||||
}
|
||||
|
@ -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'])
|
Loading…
Reference in New Issue
Block a user