remove Train/Preprocessing tab and put all its functionality into extras batch images mode

This commit is contained in:
AUTOMATIC1111
2023-12-02 18:01:11 +03:00
parent 4a666381bf
commit 11d23e8ca5
19 changed files with 460 additions and 414 deletions

View File

@@ -34,8 +34,10 @@ class Toprow:
submit_box = None
def __init__(self, is_img2img, is_compact=False):
id_part = "img2img" if is_img2img else "txt2img"
def __init__(self, is_img2img, is_compact=False, id_part=None):
if id_part is None:
id_part = "img2img" if is_img2img else "txt2img"
self.id_part = id_part
self.is_img2img = is_img2img
self.is_compact = is_compact