pyannote-speaker-diarization / handler_test.py
Katsuya Oda
fix: impl handler
81bcdf3
raw
history blame
222 Bytes
from handler import EndpointHandler
from pathlib import Path
my_handler = EndpointHandler()
with open("./handler_test.wav", "rb") as file:
bytes_data = file.read()
res = my_handler({"inputs": bytes_data})
print(res)