Try with normal image
This commit is contained in:
+1
-1
@@ -250,7 +250,7 @@ async def cooking_params():
|
|||||||
enhanced_filepath = enhance_image_for_ai(filepath)
|
enhanced_filepath = enhance_image_for_ai(filepath)
|
||||||
|
|
||||||
# Concurrent AI Execution
|
# Concurrent AI Execution
|
||||||
safety_task = asyncio.to_thread(safety_checker.check_dish_safety, enhanced_filepath)
|
safety_task = asyncio.to_thread(safety_checker.check_dish_safety, filepath)
|
||||||
planner_task = asyncio.to_thread(
|
planner_task = asyncio.to_thread(
|
||||||
microwave_cook_planner.generate_plan,
|
microwave_cook_planner.generate_plan,
|
||||||
image_path=enhanced_filepath,
|
image_path=enhanced_filepath,
|
||||||
|
|||||||
Reference in New Issue
Block a user