File size: 517 Bytes
7274bc5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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)