|
|
|
@ -801,6 +801,11 @@ def create_ui(txt2img, img2img, run_extras, run_pnginfo):
|
|
|
|
with open(os.path.join(script_path, "style.css"), "r", encoding="utf8") as file:
|
|
|
|
with open(os.path.join(script_path, "style.css"), "r", encoding="utf8") as file:
|
|
|
|
css = file.read()
|
|
|
|
css = file.read()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if os.path.exists(os.path.join(script_path, "style.css")):
|
|
|
|
|
|
|
|
with open(os.path.join(script_path, "user.css"), "r", encoding="utf8") as file:
|
|
|
|
|
|
|
|
usercss = file.read()
|
|
|
|
|
|
|
|
css += usercss
|
|
|
|
|
|
|
|
|
|
|
|
if not cmd_opts.no_progressbar_hiding:
|
|
|
|
if not cmd_opts.no_progressbar_hiding:
|
|
|
|
css += css_hide_progressbar
|
|
|
|
css += css_hide_progressbar
|
|
|
|
|
|
|
|
|
|
|
|
|