revoicing / test_run_handler.py
Ashlee Kupor
Add handler
5499fc9
raw
history blame
255 Bytes
from handler import EndpointHandler
# init handler
my_handler = EndpointHandler(path=".")
# prepare sample payload
test_payload = 'test.transcript.vtt'
# test the handler
test_pred=my_handler(test_payload)
# show results
print("test_pred", test_pred)