pyannote-speaker-diarization / handler_test.py
Katsuya Oda
fix: use config.yaml
50e7175
raw
history blame contribute delete
197 Bytes
from handler import EndpointHandler
my_handler = EndpointHandler()
with open("./handler_test.wav", "rb") as file:
bytes_data = file.read()
res = my_handler({"inputs": bytes_data})
print(res)