From fcb64ac987ab67e0923eca5a8dca3e59825bd209 Mon Sep 17 00:00:00 2001 From: Do Son Tung Date: Fri, 5 Apr 2024 12:12:20 -0400 Subject: [PATCH] minor changes --- scripts/sd-image-editor.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/scripts/sd-image-editor.py b/scripts/sd-image-editor.py index 5fa8300..3963aad 100644 --- a/scripts/sd-image-editor.py +++ b/scripts/sd-image-editor.py @@ -74,11 +74,11 @@ def open_folder(): return elif not os.path.isdir(path): msg = f""" -WARNING -An open_folder request was made with an path that is not a folder. -This could be an error or a malicious attempt to run code on your computer. -Requested path was: {path} -""" + WARNING + An open_folder request was made with an path that is not a folder. + This could be an error or a malicious attempt to run code on your computer. + Requested path was: {path} + """ print(msg, file=sys.stderr) gr.Warning(msg) return @@ -112,7 +112,7 @@ def on_ui_tabs(): rotate_slider = gr.Slider( minimum=-180, maximum=180, - step=5, + step=1, value=0, label="Rotate" ) @@ -175,7 +175,7 @@ def on_ui_tabs(): with gr.Row(): render_button = gr.Button(value="Render") with gr.Row(): - save_button = gr.Button(value="Save to img2img", + save_button = gr.Button(value="Save to output foldedr", variant="primary", scale=4) folder_symbol = '\U0001f4c2' # 📂