minor updates
parent
0d70f25548
commit
2efff3811f
|
|
@ -1,14 +1,15 @@
|
|||
# System Info tab extensions for SD Automatic WebUI
|
||||
|
||||
Creates a top-level **System Info** tab in Automatic WebUI with
|
||||
Creates a top-level **System Info** tab in Automatic WebUI with
|
||||
|
||||
*Note*:
|
||||
|
||||
- State & memory info are auto-updated every second if tab is visible
|
||||
(no updates are performed when tab is not visible)
|
||||
- All other information is updated once upon WebUI load and
|
||||
can be force refreshed if required
|
||||
|
||||
## Current information:
|
||||
## Current information
|
||||
|
||||
- Server start time
|
||||
- Version
|
||||
|
|
@ -16,7 +17,7 @@ Creates a top-level **System Info** tab in Automatic WebUI with
|
|||
- Current State
|
||||
- Current Memory statistics
|
||||
|
||||
## System data:
|
||||
## System data
|
||||
|
||||
- Platform details
|
||||
- Torch, CUDA and GPU details
|
||||
|
|
|
|||
|
|
@ -407,7 +407,7 @@ def on_ui_tabs():
|
|||
data.pop('loras', None)
|
||||
js = gr.JSON(data)
|
||||
with gr.Column(scale = 1, min_width = 120):
|
||||
timestamp = gr.Text(data['timestamp'], label = '', elem_id = 'system_info_tab_last_update')
|
||||
timestamp = gr.Text(default=data['timestamp'], label = '', elem_id = 'system_info_tab_last_update')
|
||||
refresh_quick_btn = gr.Button('Refresh state', elem_id = 'system_info_tab_refresh_btn', visible = False).style(full_width = False) # quick refresh is used from js interval
|
||||
refresh_quick_btn.click(refresh_info_quick, inputs = [], outputs = [state, memory, crossattention, timestamp, js], show_progress = False)
|
||||
refresh_full_btn = gr.Button('Refresh data', elem_id = 'system_info_tab_refresh_full_btn', variant='primary').style(full_width = False)
|
||||
|
|
|
|||
Loading…
Reference in New Issue