File size: 280 Bytes
3e9b89b
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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)