This message was deleted.
# ask-for-help
s
This message was deleted.
n
@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?