diff --git a/cloud/safety_checker.py b/cloud/safety_checker.py index c1eb7ca..0e6e464 100644 --- a/cloud/safety_checker.py +++ b/cloud/safety_checker.py @@ -21,10 +21,10 @@ def check_dish_safety(image_path: str) -> dict: prompt = ( "You are an expert microwave safety quality inspector analyzing a top-down camera frame.\n\n" "INSPECTION STEPS:\n" - "Describe what you see in the image, identify any potential hazards, and determine if the dish is safe to microwave.\n" - "Alert only if the cooking of the dish will cause damage to the microwave or the dish itself.\n" + "Describe what you see in the image, identify any viewable hazards, and determine if the dish is safe to microwave.\n" + "Alert only if the cooking of the dish **will cause damage** to the microwave or the dish itself.\n" "NOTES:\n" - "The camera focus is wrongly setup, so the image may be blurry. Please do not take the blurriness into account when analyzing the dish.\n" + "The camera focus is wrongly setup, so the image may be blurry. Please do not take the blurriness or lack of view into a hazardn" ) response_raw = generate(