Commit 3e068de0 authored by w-e-w's avatar w-e-w
Browse files

reorder training preprocessing modules in extras tab

using the order from before the rework
11d23e8c
parent de03882d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@ import gradio as gr

class ScriptPostprocessingCeption(scripts_postprocessing.ScriptPostprocessing):
    name = "Caption"
    order = 4000
    order = 4040

    def ui(self):
        with ui_components.InputAccordion(False, label="Caption") as enable:
+1 −1
Original line number Diff line number Diff line
@@ -6,7 +6,7 @@ import gradio as gr

class ScriptPostprocessingCreateFlippedCopies(scripts_postprocessing.ScriptPostprocessing):
    name = "Create flipped copies"
    order = 4000
    order = 4030

    def ui(self):
        with ui_components.InputAccordion(False, label="Create flipped copies") as enable:
+1 −1
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@ from modules.textual_inversion import autocrop

class ScriptPostprocessingFocalCrop(scripts_postprocessing.ScriptPostprocessing):
    name = "Auto focal point crop"
    order = 4000
    order = 4010

    def ui(self):
        with ui_components.InputAccordion(False, label="Auto focal point crop") as enable:
+1 −1
Original line number Diff line number Diff line
@@ -28,7 +28,7 @@ def multicrop_pic(image: Image, mindim, maxdim, minarea, maxarea, objective, thr

class ScriptPostprocessingAutosizedCrop(scripts_postprocessing.ScriptPostprocessing):
    name = "Auto-sized crop"
    order = 4000
    order = 4020

    def ui(self):
        with ui_components.InputAccordion(False, label="Auto-sized crop") as enable: