mirror of
https://github.com/BoardWare-Genius/jarvis-models.git
synced 2025-12-14 00:53:25 +00:00
feat: log
This commit is contained in:
@ -59,7 +59,7 @@ class BlackboxFactory:
|
||||
def __call__(self, *args, **kwargs):
|
||||
return self.processing(*args, **kwargs)
|
||||
|
||||
def call_blackbox(self, blackbox_name: str) -> Blackbox:
|
||||
def get_blackbox(self, blackbox_name: str) -> Blackbox:
|
||||
model = self.models.get(blackbox_name)
|
||||
if model is None:
|
||||
raise ValueError("Invalid Blackbox Type...")
|
||||
|
||||
Reference in New Issue
Block a user