maintain
This commit is contained in:
parent
9cd3c06c6f
commit
47441736ae
@ -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"
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user