File size: 278 Bytes
bf66e5a
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
from handler import EndpointHandler

# init handler
my_handler = EndpointHandler(path=".")

# prepare sample payload
payload = {"inputs": "I am so happy to reach in my pocket and find a"}

# test the handler
payload=my_handler(payload)

# show results
print("output:", payload)