Slackbot
05/30/2023, 1:45 AMNuwan
05/30/2023, 7:14 AM@svc.api(
_input_=JSON(), _output_=JSON(),
_doc_="Summarize",
# route="/v1/emails/summarize",
)
async def predict(_input_json_: Dict[str, Any]) -> Dict[str, str]:
rest of code
After I removed the route from the sagemaker worked. Cannot we use api route for sagemaker? Is there any work around?