add a lists of t2i adapters to startup set

This commit is contained in:
Lincoln Stein 2023-10-08 18:53:21 -04:00
parent fe0cf2c160
commit fa9ea93477
2 changed files with 30 additions and 5 deletions

View File

@ -96,6 +96,22 @@ sd-1/controlnet/tile:
repo_id: lllyasviel/control_v11f1e_sd15_tile repo_id: lllyasviel/control_v11f1e_sd15_tile
sd-1/controlnet/ip2p: sd-1/controlnet/ip2p:
repo_id: lllyasviel/control_v11e_sd15_ip2p repo_id: lllyasviel/control_v11e_sd15_ip2p
sd-1/t2i_adapter/canny-sd15:
repo_id: TencentARC/t2iadapter_canny_sd15v2
sd-1/t2i_adapter/sketch-sd15:
repo_id: TencentARC/t2iadapter_sketch_sd15v2
sd-1/t2i_adapter/depth-sd15:
repo_id: TencentARC/t2iadapter_depth_sd15v2
sd-1/t2i_adapter/zoedepth-sd15:
repo_id: TencentARC/t2iadapter_zoedepth_sd15v1
sdxl/t2i_adapter/canny-sdxl:
repo_id: TencentARC/t2i-adapter-canny-sdxl-1.0
sdxl/t2i_adapter/zoedepth-sdxl:
repo_id: TencentARC/t2i-adapter-depth-zoe-sdxl-1.0
sdxl/t2i_adapter/lineart-sdxl:
repo_id: TencentARC/t2i-adapter-lineart-sdxl-1.0
sdxl/t2i_adapter/sketch-sdxl:
repo_id: TencentARC/t2i-adapter-sketch-sdxl-1.0
sd-1/embedding/EasyNegative: sd-1/embedding/EasyNegative:
path: https://huggingface.co/embed/EasyNegative/resolve/main/EasyNegative.safetensors path: https://huggingface.co/embed/EasyNegative/resolve/main/EasyNegative.safetensors
recommended: True recommended: True

View File

@ -98,15 +98,16 @@ class addModelsForm(CyclingForm, npyscreen.FormMultiPage):
self.tabs = self.add_widget_intelligent( self.tabs = self.add_widget_intelligent(
SingleSelectColumns, SingleSelectColumns,
values=[ values=[
"STARTER MODELS", "STARTERS",
"MAIN MODELS", "MAINS",
"CONTROLNETS", "CONTROLNETS",
"T2I-ADAPTERS",
"IP-ADAPTERS", "IP-ADAPTERS",
"LORA/LYCORIS", "LORAS",
"TEXTUAL INVERSION", "TI EMBEDDINGS",
], ],
value=[self.current_tab], value=[self.current_tab],
columns=6, columns=7,
max_height=2, max_height=2,
relx=8, relx=8,
scroll_exit=True, scroll_exit=True,
@ -131,6 +132,12 @@ class addModelsForm(CyclingForm, npyscreen.FormMultiPage):
) )
bottom_of_table = max(bottom_of_table, self.nextrely) bottom_of_table = max(bottom_of_table, self.nextrely)
self.nextrely = top_of_table
self.t2i_models = self.add_model_widgets(
model_type=ModelType.T2IAdapter,
window_width=window_width,
)
bottom_of_table = max(bottom_of_table, self.nextrely)
self.nextrely = top_of_table self.nextrely = top_of_table
self.ipadapter_models = self.add_model_widgets( self.ipadapter_models = self.add_model_widgets(
model_type=ModelType.IPAdapter, model_type=ModelType.IPAdapter,
@ -351,6 +358,7 @@ class addModelsForm(CyclingForm, npyscreen.FormMultiPage):
self.starter_pipelines, self.starter_pipelines,
self.pipeline_models, self.pipeline_models,
self.controlnet_models, self.controlnet_models,
self.t2i_models,
self.ipadapter_models, self.ipadapter_models,
self.lora_models, self.lora_models,
self.ti_models, self.ti_models,
@ -541,6 +549,7 @@ class addModelsForm(CyclingForm, npyscreen.FormMultiPage):
self.starter_pipelines, self.starter_pipelines,
self.pipeline_models, self.pipeline_models,
self.controlnet_models, self.controlnet_models,
self.t2i_models,
self.ipadapter_models, self.ipadapter_models,
self.lora_models, self.lora_models,
self.ti_models, self.ti_models,