from handler import EndpointHandler | |
my_handler = EndpointHandler(path=".") | |
prompt = "An astronaut riding horse" | |
input = { "inputs": prompt } | |
print("result: ", my_handler(input)) | |
from handler import EndpointHandler | |
my_handler = EndpointHandler(path=".") | |
prompt = "An astronaut riding horse" | |
input = { "inputs": prompt } | |
print("result: ", my_handler(input)) | |