From 1313b6e647b7fd1e74bc77d30345318882f39852 Mon Sep 17 00:00:00 2001 From: "Luis C." Date: Sat, 1 Mar 2025 17:41:55 -0500 Subject: [PATCH 1/2] Fix typo and local path --- computer_use/autonomous_gui_agent.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/computer_use/autonomous_gui_agent.py b/computer_use/autonomous_gui_agent.py index eb659ab..bf42f61 100644 --- a/computer_use/autonomous_gui_agent.py +++ b/computer_use/autonomous_gui_agent.py @@ -511,7 +511,7 @@ def process_command(model, processor, gui_agent, gui_processor, query, past_acti for action in ["finished", "call_user", "wait"] ): past_actions.append(planner_response) - play_audio("/Users/prince_canuma/task_completed.wav") + play_audio("./audio/task_completed.wav") print("Task completed successfully!") screenshot = ImageGrab.grab() screenshot = screenshot.resize((1512, 982)) @@ -562,7 +562,7 @@ def main(): print("Type 'exit' to quit") model, processor = load("mlx-community/Qwen2.5-VL-7B-Instruct-4bit") gui_agent, gui_processor = load( - "mlx-community/ShowUI-2B-bf16", + "mlx-community/ShowUI-2B-bf16-bf16", processor_kwargs={"min_pixels": min_pixels, "max_pixels": max_pixels}, ) From 130f9040b614622fdefed4d6916eee4cc380bd2d Mon Sep 17 00:00:00 2001 From: "Luis C." Date: Sun, 2 Mar 2025 19:47:39 -0500 Subject: [PATCH 2/2] Revert model name --- computer_use/autonomous_gui_agent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/computer_use/autonomous_gui_agent.py b/computer_use/autonomous_gui_agent.py index bf42f61..bb9d3ab 100644 --- a/computer_use/autonomous_gui_agent.py +++ b/computer_use/autonomous_gui_agent.py @@ -562,7 +562,7 @@ def main(): print("Type 'exit' to quit") model, processor = load("mlx-community/Qwen2.5-VL-7B-Instruct-4bit") gui_agent, gui_processor = load( - "mlx-community/ShowUI-2B-bf16-bf16", + "mlx-community/ShowUI-2B-bf16", processor_kwargs={"min_pixels": min_pixels, "max_pixels": max_pixels}, )