| from handler import EndpointHandler | |
| # init handler | |
| print('init handler') | |
| my_handler = EndpointHandler(path=".") | |
| p = {"inputs": "I am quite excited how this will turn out", "duration": 2} | |
| print('calling handler') | |
| pred=my_handler(p) | |
| print("done") | |
| print(pred) | |