import json | |
from handler import EndpointHandler | |
# init handler | |
my_handler = EndpointHandler() | |
import os | |
# Specify the folder path here | |
folder_path = ( | |
"/Users/apenasisso/pl/pl-bots/notebooks/analytics/data/elevenlabs_analysis" | |
) | |
# List all files in the folder | |
holiday_payload = { | |
"inputs": "https://pl-bots-public-media.s3.amazonaws.com/5511996969344_093275df-8324-4425-be0a-6d933bbcd896.mp3" | |
} | |
# test the handler | |
payload = my_handler(holiday_payload) | |
# show results | |
print("holiday_payload", payload) | |