Update handler.py
Browse files- handler.py +1 -1
handler.py
CHANGED
@@ -10,7 +10,7 @@ SAMPLE_RATE = 16000
|
|
10 |
class EndpointHandler():
|
11 |
def __init__(self, path=""):
|
12 |
# load the model
|
13 |
-
self.pipeline = Pipeline.from_pretrained("
|
14 |
|
15 |
def __call__(self, data: Dict[str, bytes]) -> Dict[str, str]:
|
16 |
"""
|
|
|
10 |
class EndpointHandler():
|
11 |
def __init__(self, path=""):
|
12 |
# load the model
|
13 |
+
self.pipeline = Pipeline.from_pretrained("KIFF/pyannote-speaker-diarization-endpoint")
|
14 |
|
15 |
def __call__(self, data: Dict[str, bytes]) -> Dict[str, str]:
|
16 |
"""
|