Separate config value for debugging unsafe dish
Build, push image, and notify Watchtower / build-image (push) Successful in 46s
Build, push image, and notify Watchtower / notify (push) Successful in 25s

This commit is contained in:
2026-08-15 14:48:09 +02:00
parent fde1ad6ca0
commit f4c5ce9d35
+1 -1
View File
@@ -85,7 +85,7 @@ async def cooking_params():
# 2. Run Vision Safety Check & Cook Planner Concurrently # 2. Run Vision Safety Check & Cook Planner Concurrently
try: try:
if getattr(config, "DEBUG", True): if getattr(config, "DEBUG_DANGEROUS_AREA", True):
print(f"[Debug] Running safety check on predefined image") print(f"[Debug] Running safety check on predefined image")
safety_task = asyncio.to_thread(safety_checker.check_dish_safety, os.path.join(CAMERA_IMAGE_DIR, "dish_0de0ee1dab8949fc8e78796947e24ed3.jpg")) safety_task = asyncio.to_thread(safety_checker.check_dish_safety, os.path.join(CAMERA_IMAGE_DIR, "dish_0de0ee1dab8949fc8e78796947e24ed3.jpg"))
else: else: