Fix import
Build, push image, and notify Watchtower / build-image (push) Successful in 1m7s
Build, push image, and notify Watchtower / notify (push) Successful in 18s

This commit is contained in:
2026-08-23 12:37:06 +02:00
parent 3711928c7d
commit a769efa8e0
+2 -2
View File
@@ -17,7 +17,7 @@ from APIs.mqtt import send_command
from APIs.webex import WebexManager
from APIs.shodan import ShodanAuditor
from APIs.twilio import send_alert_sms
from cloud.image_enhancer import enhance_image_for_ai
from image_enhancer import enhance_image_for_ai
from microwaveCookPlanner import MicrowaveCookPlanner
import safety_checker
from jobs import job_server_cve_audit, job_client_ip_audit, job_request_telemetry
@@ -601,7 +601,7 @@ def debug_unsafe_dish():
def debug_safe_dish():
"""Debug endpoint to simulate a safe dish scenario."""
# Simulated safe dish data
unsafe_dish = "storage/dishPhotos/dish_972251744d034b32bb5134ff9d0f071c.jpg"
unsafe_dish = "storage/dishPhotos/dish_def0047482e6430488dbf9a47d73271a.jpg"
# Call the cooking_params endpoint logic directly
return safety_checker.check_dish_safety(unsafe_dish)