bark-small / test_handler.py
beniaminp's picture
last commit
3e9b89b
Raw History Blame Contribute Delete
280 Bytes
from handler import EndpointHandler
# init handler
my_handler = EndpointHandler()
# prepare sample payload
bark_inputs = {
"inputs": "I am quite excited how this will turn out"}
# test the handler
outputs = my_handler(bark_inputs)
# show results
print("outputs", outputs)