rename ModelType.Pipeline to ModelType.Main

This commit is contained in:
Lincoln Stein
2023-06-24 11:45:49 -04:00
parent 539d1f3bde
commit ba1371a88f
10 changed files with 35 additions and 35 deletions

View File

@ -127,7 +127,7 @@ class addModelsForm(CyclingForm, npyscreen.FormMultiPage):
self.nextrely = top_of_table
self.pipeline_models = self.add_pipeline_widgets(
model_type=ModelType.Pipeline,
model_type=ModelType.Main,
window_width=window_width,
exclude = self.starter_models
)
@ -303,7 +303,7 @@ class addModelsForm(CyclingForm, npyscreen.FormMultiPage):
### Tab for arbitrary diffusers widgets ###
def add_pipeline_widgets(self,
model_type: ModelType=ModelType.Pipeline,
model_type: ModelType=ModelType.Main,
window_width: int=120,
**kwargs,
)->dict[str,npyscreen.widget]: