aniketqxp's picture
feat: add processing service runtime
f1ef7e2
Raw
History Blame Contribute Delete
370 Bytes
class ProductionDiarizer:
def __init__(self, auth_token: str = ""):
self.auth_token = auth_token
def separate_speakers(self, audio_path: str):
# Wraps production pyannote clusters processing
return [
{"speaker": "Speaker 0", "start": 0.0, "end": 2.5},
{"speaker": "Speaker 1", "start": 2.5, "end": 6.8}
]