From a5e71d90c32c924326fd1cd872bc711ac159f19e Mon Sep 17 00:00:00 2001 From: EndoNrak Date: Mon, 9 Oct 2023 10:16:41 +0900 Subject: [PATCH] output change --- .../post_turtle_training_code/post_turtle_training_code.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloud/sam/scripts/post_turtle_training_code/post_turtle_training_code.py b/cloud/sam/scripts/post_turtle_training_code/post_turtle_training_code.py index cc72710..2d84705 100644 --- a/cloud/sam/scripts/post_turtle_training_code/post_turtle_training_code.py +++ b/cloud/sam/scripts/post_turtle_training_code/post_turtle_training_code.py @@ -35,7 +35,7 @@ def evaluation(event: dict, context): "headers": { "Content-Type": "text/plain", }, - "body": open('/tmp/canvas.svg', 'rb').read() + "body": open('/tmp/canvas.jpg', 'rb').read() } except subprocess.TimeoutExpired: response = {