diff --git a/scripts/images_history.py b/scripts/images_history.py index 66c74de..35df44b 100644 --- a/scripts/images_history.py +++ b/scripts/images_history.py @@ -44,9 +44,9 @@ def reduplicative_file_move(src, dst): def save_image(file_name): if file_name is not None and os.path.exists(file_name): reduplicative_file_move(file_name, opts.outdir_save) - return "
Moved to Favorites
" - else - return "
Image not found
" + return "
Moved to favorites
" + else: + return "
Image not found (may have been already moved)
" def delete_image(delete_num, name, filenames, image_index, visible_num): if name == "": @@ -226,7 +226,7 @@ def create_tab(tabname): img_file_time= gr.HTML() with gr.Row(elem_id=tabname + "_images_history_button_panel") as button_panel: if tabname != faverate_tab_name: - save_btn = gr.Button('Move to Favorites') + save_btn = gr.Button('Move to favorites') try: send_to_buttons = modules.generation_parameters_copypaste.create_buttons(["txt2img", "img2img", "inpaint", "extras"]) except: