jdesiree commited on
Commit
75e44c3
·
verified ·
1 Parent(s): 41b806b

Update model_manager.py

Browse files
Files changed (1) hide show
  1. model_manager.py +1 -1
model_manager.py CHANGED
@@ -58,7 +58,7 @@ class LazyLlamaModel:
58
 
59
  def __init__(self):
60
  """Initialize only once"""
61
- if self._initialized:
62
  return
63
 
64
  self.model = None
 
58
 
59
  def __init__(self):
60
  """Initialize only once"""
61
+ if hasattr(self, '_initialized') and self._initialized:
62
  return
63
 
64
  self.model = None