This commit is contained in:
lllyasviel 2023-12-12 13:44:16 -08:00
parent 9cd3c06c6f
commit 47441736ae
2 changed files with 7 additions and 1 deletions

View File

@ -37,7 +37,7 @@ def log(img, dic, single_line_number=3):
item = f'<div id="{div_name}">\n'
item += "<table><tr>"
item += f"<td><img src=\"{only_name}\" width=auto height=100% loading=lazy style=\"height:auto;max-width:512px\" onerror=\"document.getElementById('{div_name}').style.display = 'none';\"></img></p></td>"
item += f"<td><p>{only_name}</p>\n"
item += f"<td style=\"padding-left:10px;\"><p>{only_name}</p>\n"
for i, (k, v) in enumerate(dic):
if i < single_line_number:
item += f"<p>{k}: <b>{v}</b></p>\n"

View File

@ -1,3 +1,9 @@
# 2.1.828
* Allow to disable gradio analytics.
* Use html table in log.
* fix some SSL problems.
# 2.1.826
* New backend.