from handler import EndpointHandler my_handler = EndpointHandler(path=".") html_string = " Page Title " payload = {"inputs": html_string} print(my_handler(payload))