osanseviero
commited on
Commit
•
29fc826
1
Parent(s):
693bcba
Update pipeline.py
Browse files- pipeline.py +1 -1
pipeline.py
CHANGED
@@ -14,7 +14,7 @@ class PreTrainedPipeline():
|
|
14 |
self.model = BaseModel.from_pretrained("")
|
15 |
self.sampling_rate = self.model.sample_rate
|
16 |
|
17 |
-
|
18 |
"""
|
19 |
Args:
|
20 |
inputs (:obj:`np.array`):
|
|
|
14 |
self.model = BaseModel.from_pretrained("")
|
15 |
self.sampling_rate = self.model.sample_rate
|
16 |
|
17 |
+
def __call__(self, inputs: np.array) -> Tuple[np.array, int, List[str]]:
|
18 |
"""
|
19 |
Args:
|
20 |
inputs (:obj:`np.array`):
|