Fix import
This commit is contained in:
+2
-2
@@ -17,7 +17,7 @@ from APIs.mqtt import send_command
|
|||||||
from APIs.webex import WebexManager
|
from APIs.webex import WebexManager
|
||||||
from APIs.shodan import ShodanAuditor
|
from APIs.shodan import ShodanAuditor
|
||||||
from APIs.twilio import send_alert_sms
|
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
|
from microwaveCookPlanner import MicrowaveCookPlanner
|
||||||
import safety_checker
|
import safety_checker
|
||||||
from jobs import job_server_cve_audit, job_client_ip_audit, job_request_telemetry
|
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():
|
def debug_safe_dish():
|
||||||
"""Debug endpoint to simulate a safe dish scenario."""
|
"""Debug endpoint to simulate a safe dish scenario."""
|
||||||
# Simulated safe dish data
|
# 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
|
# Call the cooking_params endpoint logic directly
|
||||||
return safety_checker.check_dish_safety(unsafe_dish)
|
return safety_checker.check_dish_safety(unsafe_dish)
|
||||||
|
|||||||
Reference in New Issue
Block a user