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) | |