First concept of model plugins with a conceptual UI.

Completely breaks UI2 model loading.
This commit is contained in:
ebolam
2023-05-10 16:30:46 -04:00
parent cb4af7e56e
commit 71aee4dbd8
16 changed files with 912 additions and 610 deletions

View File

@@ -169,6 +169,15 @@ class InferenceModel:
]
self.tokenizer = None
self.capabilties = ModelCapabilities()
def is_valid(self, model_name, model_path, menu_path, vram):
return True
def requested_parameters(self, model_name, model_path, menu_path, vram):
return {}
def define_input_parameters(self):
return
def load(self, save_model: bool = False, initial_load: bool = False) -> None:
"""User-facing load function. Do not override this; try `_load()` instead."""