diff --git a/ai_ta_backend/modal/pest_detection.py b/ai_ta_backend/modal/pest_detection.py index 9d7a1ad0..bd04e9d0 100644 --- a/ai_ta_backend/modal/pest_detection.py +++ b/ai_ta_backend/modal/pest_detection.py @@ -98,8 +98,8 @@ async def predict(self, request: Request): image_urls = input.get('image_urls', []) print(f"Image URLS (no parsing): {image_urls}") - # image_urls = json.loads(image_urls) - # print(f"json parsed Image URLS: {image_urls}") + image_urls = json.loads(image_urls) + print(f"json parsed Image URLS: {image_urls}") try: # Run the plugin