mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2024-12-29 19:05:05 +08:00
reorder training preprocessing modules in extras tab
using the order from before the rework
11d23e8ca5
This commit is contained in:
parent
de03882d6c
commit
3e068de0dc
@ -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:
|
||||||
|
@ -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:
|
||||||
|
@ -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:
|
||||||
|
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user