from handler import EndpointHandler # init handler my_handler = EndpointHandler(path=".") # prepare sample payload example = {"inputs": [{"speaker_A": "I am quite excited how this will turn out", "speaker_B": "I'm excited, too"}], "parameters": {"speaker_A": "speaker_A", "speaker_B": "speaker_B", "student_min_words": 5 }} # test the handler print(my_handler(example))