Add a header bar and redesign the interface (#293)
This commit is contained in:
parent
9d6a625bd6
commit
1413931705
3 changed files with 99 additions and 71 deletions
|
@ -76,7 +76,7 @@ def generate_html():
|
|||
return container_html
|
||||
|
||||
def ui():
|
||||
with gr.Accordion("Character gallery"):
|
||||
with gr.Accordion("Character gallery", open=False):
|
||||
update = gr.Button("Refresh")
|
||||
gallery = gr.HTML(value=generate_html())
|
||||
update.click(generate_html, [], gallery)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue