From 4600bec4bac664c43a8c7c254ed16b435775c560 Mon Sep 17 00:00:00 2001 From: Shroominic Date: Thu, 7 Nov 2024 11:23:09 +0800 Subject: [PATCH] fix typing issue --- src/codeinterpreterapi/schema.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/codeinterpreterapi/schema.py b/src/codeinterpreterapi/schema.py index 1cdf0fcd..f5a44937 100644 --- a/src/codeinterpreterapi/schema.py +++ b/src/codeinterpreterapi/schema.py @@ -64,7 +64,7 @@ def get_image(self) -> Any: # Convert image to RGB if it's not if img.mode not in ("RGB", "L"): # L is for grayscale images - img = img.convert("RGB") + img = img.convert("RGB") # type: ignore return img