mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-01-06 15:15:05 +08:00
fix typo in call_queue.py
amout -> amount
This commit is contained in:
parent
bef51aed03
commit
16522cb0e3
@ -100,8 +100,8 @@ def wrap_gradio_call(func, extra_outputs=None, add_stats=False):
|
|||||||
sys_pct = sys_peak/max(sys_total, 1) * 100
|
sys_pct = sys_peak/max(sys_total, 1) * 100
|
||||||
|
|
||||||
toltip_a = "Active: peak amount of video memory used during generation (excluding cached data)"
|
toltip_a = "Active: peak amount of video memory used during generation (excluding cached data)"
|
||||||
toltip_r = "Reserved: total amout of video memory allocated by the Torch library "
|
toltip_r = "Reserved: total amount of video memory allocated by the Torch library "
|
||||||
toltip_sys = "System: peak amout of video memory allocated by all running programs, out of total capacity"
|
toltip_sys = "System: peak amount of video memory allocated by all running programs, out of total capacity"
|
||||||
|
|
||||||
text_a = f"<abbr title='{toltip_a}'>A</abbr>: <span class='measurement'>{active_peak/1024:.2f} GB</span>"
|
text_a = f"<abbr title='{toltip_a}'>A</abbr>: <span class='measurement'>{active_peak/1024:.2f} GB</span>"
|
||||||
text_r = f"<abbr title='{toltip_r}'>R</abbr>: <span class='measurement'>{reserved_peak/1024:.2f} GB</span>"
|
text_r = f"<abbr title='{toltip_r}'>R</abbr>: <span class='measurement'>{reserved_peak/1024:.2f} GB</span>"
|
||||||
|
Loading…
Reference in New Issue
Block a user