bring history tab back, make it behave; it's still slow but won't fuck anything up until you use it

This commit is contained in:
AUTOMATIC
2022-10-15 00:43:15 +03:00
parent 4bbe5d62e0
commit acedbe67d2
2 changed files with 14 additions and 6 deletions

View File

@@ -1090,7 +1090,7 @@ def create_ui(wrap_gradio_gpu_call):
"i2i":img2img_paste_fields
}
#images_history = img_his.create_history_tabs(gr, opts, wrap_gradio_call(modules.extras.run_pnginfo), images_history_switch_dict)
images_history = img_his.create_history_tabs(gr, opts, wrap_gradio_call(modules.extras.run_pnginfo), images_history_switch_dict)
with gr.Blocks() as modelmerger_interface:
with gr.Row().style(equal_height=False):
@@ -1487,7 +1487,7 @@ Requested path was: {f}
(img2img_interface, "img2img", "img2img"),
(extras_interface, "Extras", "extras"),
(pnginfo_interface, "PNG Info", "pnginfo"),
#(images_history, "History", "images_history"),
(images_history, "History", "images_history"),
(modelmerger_interface, "Checkpoint Merger", "modelmerger"),
(train_interface, "Train", "ti"),
(settings_interface, "Settings", "settings"),