Spaces:
Sleeping
Sleeping
Commit ·
c83f334
1
Parent(s): 70e6d12
Upd import
Browse files
utils/efficiency_labeler.py
CHANGED
|
@@ -38,6 +38,7 @@ class EfficiencyLabeler:
|
|
| 38 |
if not EfficiencyLabeler._initialized:
|
| 39 |
self._load_model()
|
| 40 |
EfficiencyLabeler._initialized = True
|
|
|
|
| 41 |
|
| 42 |
@classmethod
|
| 43 |
def get(cls):
|
|
|
|
| 38 |
if not EfficiencyLabeler._initialized:
|
| 39 |
self._load_model()
|
| 40 |
EfficiencyLabeler._initialized = True
|
| 41 |
+
EfficiencyLabeler._instance = self
|
| 42 |
|
| 43 |
@classmethod
|
| 44 |
def get(cls):
|