File size: 267 Bytes
bf66e5a
 
 
 
 
 
366e62e
bf66e5a
 
392d92f
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 want to turn the next page of the"}

# test the handler
payload=my_handler(payload)

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