changed <p> to <br> in info field to prevent double line breaks when copying
added new features to the list.
This commit is contained in:
parent
4d2c0c7a72
commit
13eec4f3d4
|
@ -36,6 +36,9 @@ A browser interface based on Gradio library for Stable Diffusion.
|
||||||
- Random artist button
|
- Random artist button
|
||||||
- Tiling support: UI checkbox to create images that can be tiled like textures
|
- Tiling support: UI checkbox to create images that can be tiled like textures
|
||||||
- Progress bar and live image generation preview
|
- Progress bar and live image generation preview
|
||||||
|
- Styles
|
||||||
|
- Variations
|
||||||
|
- Seed resizing
|
||||||
|
|
||||||
## Installing and running
|
## Installing and running
|
||||||
|
|
||||||
|
|
|
@ -54,7 +54,7 @@ css_hide_progressbar = """
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def plaintext_to_html(text):
|
def plaintext_to_html(text):
|
||||||
text = "".join([f"<p>{html.escape(x)}</p>\n" for x in text.split('\n')])
|
text = "<p>" + "<br>\n".join([f"{html.escape(x)}" for x in text.split('\n')]) + "</p>"
|
||||||
return text
|
return text
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue