From 13eec4f3d4081fdc43883c5ef02e471a2b6c7212 Mon Sep 17 00:00:00 2001 From: AUTOMATIC <16777216c@gmail.com> Date: Sat, 10 Sep 2022 14:53:38 +0300 Subject: [PATCH] changed

to
in info field to prevent double line breaks when copying added new features to the list. --- README.md | 3 +++ modules/ui.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7c730480..37754b2e 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,9 @@ A browser interface based on Gradio library for Stable Diffusion. - Random artist button - Tiling support: UI checkbox to create images that can be tiled like textures - Progress bar and live image generation preview +- Styles +- Variations +- Seed resizing ## Installing and running diff --git a/modules/ui.py b/modules/ui.py index 149c5115..6898f8a8 100644 --- a/modules/ui.py +++ b/modules/ui.py @@ -54,7 +54,7 @@ css_hide_progressbar = """ """ def plaintext_to_html(text): - text = "".join([f"

{html.escape(x)}

\n" for x in text.split('\n')]) + text = "

" + "
\n".join([f"{html.escape(x)}" for x in text.split('\n')]) + "

" return text