mark the model as loaded once loaded
This commit is contained in:
parent
66ae63ac19
commit
71eff944dd
1 changed files with 3 additions and 0 deletions
|
@ -64,6 +64,9 @@ class BaseModel(abc.ABC):
|
|||
# declare ourselves as the currently loaded model
|
||||
self.manager.current_loaded_model = self
|
||||
|
||||
# mark the model as loaded
|
||||
self._loaded = True
|
||||
|
||||
@abc.abstractmethod
|
||||
def _load(self):
|
||||
"""
|
||||
|
|
Loading…
Reference in a new issue