pyannote-speaker-diarization / handler_test.py
Katsuya Oda
fix: model path
ba5463e
raw history blame
No virus
215 Bytes
from handler import EndpointHandler
my_handler = EndpointHandler(path="config.yaml")
with open("./handler_test.wav", "rb") as file:
bytes_data = file.read()
res = my_handler({"inputs": bytes_data})
print(res)