diff --git a/modules/private_logger.py b/modules/private_logger.py index 968bd4f5..49f17dca 100644 --- a/modules/private_logger.py +++ b/modules/private_logger.py @@ -68,7 +68,7 @@ def log(img, dic): """ ) - begin_part = f"Fooocus Log {date_string}{css_styles}{js}

Fooocus Log {date_string} (private)

\n

All images are clean, without any hidden data/meta, and safe to share with others.

\n\n" + begin_part = f"Fooocus Log {date_string}{css_styles}{js}

Fooocus Log {date_string} (private)

\n

All images are clean, without any hidden data/meta, and safe to share with others.

\n\n" end_part = f'\n' middle_part = log_cache.get(html_name, "") @@ -83,15 +83,15 @@ def log(img, dic): div_name = only_name.replace('.', '_') item = f"

\n" - item += f"" + item += f"" item += "" item += "
{only_name}
{only_name}
" for key, value in dic: - value_txt = str(value).replace('\n', '
') + value_txt = str(value).replace('\n', '
') item += f"\n" item += "" js_txt = urllib.parse.quote(json.dumps({k: v for k, v in dic}, indent=0), safe='') - item += f"
" + item += f"
" item += "
\n\n"