File size: 370 Bytes
1c732f7 2ca4eb5 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/14153496170_fcc9fd77-7159-4777-b008-4360bc2b5f84.mp3"
}
# test the handler
holiday_payload = my_handler(holiday_payload)
# show results
print("holiday_payload", holiday_payload)
|