from handler import EndpointHandler | |
my_handler = EndpointHandler(path=".") | |
html_string = "<html> <head> <title>Page Title</title> </head> </html>" | |
payload = {"inputs": html_string} | |
print(my_handler(payload)) | |
from handler import EndpointHandler | |
my_handler = EndpointHandler(path=".") | |
html_string = "<html> <head> <title>Page Title</title> </head> </html>" | |
payload = {"inputs": html_string} | |
print(my_handler(payload)) | |