osanseviero
commited on
Commit
•
24403c3
1
Parent(s):
29fc826
Update pipeline.py
Browse files- pipeline.py +0 -1
pipeline.py
CHANGED
@@ -30,7 +30,6 @@ class PreTrainedPipeline():
|
|
30 |
or some annotation for speech enhancement. The length must be `C'`.
|
31 |
"""
|
32 |
separated = separate.numpy_separate(self.model, inputs.reshape((1, 1, -1)))
|
33 |
-
# FIXME: how to deal with multiple sources?
|
34 |
out = separated[0]
|
35 |
n = out.shape[0]
|
36 |
labels = [f"label_{i}" for i in range(n)]
|
|
|
30 |
or some annotation for speech enhancement. The length must be `C'`.
|
31 |
"""
|
32 |
separated = separate.numpy_separate(self.model, inputs.reshape((1, 1, -1)))
|
|
|
33 |
out = separated[0]
|
34 |
n = out.shape[0]
|
35 |
labels = [f"label_{i}" for i in range(n)]
|