reorder training preprocessing modules in extras tab

using the order from before the rework
11d23e8ca5
This commit is contained in:
w-e-w 2023-12-19 18:48:49 +09:00
parent de03882d6c
commit 3e068de0dc
4 changed files with 4 additions and 4 deletions

View File

@ -4,7 +4,7 @@ import gradio as gr
class ScriptPostprocessingCeption(scripts_postprocessing.ScriptPostprocessing): class ScriptPostprocessingCeption(scripts_postprocessing.ScriptPostprocessing):
name = "Caption" name = "Caption"
order = 4000 order = 4040
def ui(self): def ui(self):
with ui_components.InputAccordion(False, label="Caption") as enable: with ui_components.InputAccordion(False, label="Caption") as enable:

View File

@ -6,7 +6,7 @@ import gradio as gr
class ScriptPostprocessingCreateFlippedCopies(scripts_postprocessing.ScriptPostprocessing): class ScriptPostprocessingCreateFlippedCopies(scripts_postprocessing.ScriptPostprocessing):
name = "Create flipped copies" name = "Create flipped copies"
order = 4000 order = 4030
def ui(self): def ui(self):
with ui_components.InputAccordion(False, label="Create flipped copies") as enable: with ui_components.InputAccordion(False, label="Create flipped copies") as enable:

View File

@ -7,7 +7,7 @@ from modules.textual_inversion import autocrop
class ScriptPostprocessingFocalCrop(scripts_postprocessing.ScriptPostprocessing): class ScriptPostprocessingFocalCrop(scripts_postprocessing.ScriptPostprocessing):
name = "Auto focal point crop" name = "Auto focal point crop"
order = 4000 order = 4010
def ui(self): def ui(self):
with ui_components.InputAccordion(False, label="Auto focal point crop") as enable: with ui_components.InputAccordion(False, label="Auto focal point crop") as enable:

View File

@ -28,7 +28,7 @@ def multicrop_pic(image: Image, mindim, maxdim, minarea, maxarea, objective, thr
class ScriptPostprocessingAutosizedCrop(scripts_postprocessing.ScriptPostprocessing): class ScriptPostprocessingAutosizedCrop(scripts_postprocessing.ScriptPostprocessing):
name = "Auto-sized crop" name = "Auto-sized crop"
order = 4000 order = 4020
def ui(self): def ui(self):
with ui_components.InputAccordion(False, label="Auto-sized crop") as enable: with ui_components.InputAccordion(False, label="Auto-sized crop") as enable: