lang-id-voxlingua107-ecapa / test_handler.py
apenasissso's picture
Break to 5 seconds
4953c74
raw
history blame contribute delete
372 Bytes
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)