Spaces:
Sleeping
Sleeping
Commit
·
0db11e8
1
Parent(s):
a7aa088
Update model.py
Browse files
model.py
CHANGED
|
@@ -95,7 +95,7 @@ class Model(LabelStudioMLBase):
|
|
| 95 |
})
|
| 96 |
return predictions
|
| 97 |
|
| 98 |
-
def fit(self, annotations, **kwargs):
|
| 99 |
""" This is where training happens: train your model given list of annotations,
|
| 100 |
then returns dict with created links and resources
|
| 101 |
"""
|
|
|
|
| 95 |
})
|
| 96 |
return predictions
|
| 97 |
|
| 98 |
+
def fit(self, event, annotations, **kwargs):
|
| 99 |
""" This is where training happens: train your model given list of annotations,
|
| 100 |
then returns dict with created links and resources
|
| 101 |
"""
|