File size: 372 Bytes
1c732f7 4953c74 1c732f7 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
from handler import EndpointHandler
# init handler
my_handler = EndpointHandler()
# prepare sample payload
holiday_payload = {
"inputs": "https://pl-bots-public-media.s3.amazonaws.com/5527999790371_8825d2c9-d87b-49c3-bf70-cb536328ba92.mp3"
}
# test the handler
holiday_payload = my_handler(holiday_payload)
# show results
print("holiday_payload", holiday_payload)
|