1
0
mirror of https://github.com/vladmandic/sdnext.git synced 2026-01-27 15:02:48 +03:00
Files
sdnext/modules/ui_history.py

12 lines
400 B
Python

import gradio as gr
def create_ui():
with gr.Row():
btn_refresh = gr.Button("Refresh", elem_id='btn_history_refresh')
with gr.Row():
_history_table = gr.HTML('', elem_id='history_table')
with gr.Row():
_history_timeline = gr.HTML('', elem_id='history_timeline')
btn_refresh.click(_js='refreshHistory', fn=None, inputs=[], outputs=[], show_progress='hidden')