Skip to content

armgit / cua

Public Imported from GitHub
0

Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.

docs: fix wait action

Finn505a9a5f453d
diff --git a/notebooks/blog/build-your-own-operator-on-macos-1.ipynb b/notebooks/blog/build-your-own-operator-on-macos-1.ipynb
index 22db332d11..70c0e6eab9 100644
--- a/notebooks/blog/build-your-own-operator-on-macos-1.ipynb
+++ b/notebooks/blog/build-your-own-operator-on-macos-1.ipynb
@@ -145,9 +145,8 @@
" await computer.interface.press_key(key)\n",
" \n",
" elif action_type == \"wait\":\n",
- " wait_time = action.time\n",
- " print(f\"Waiting for {wait_time} seconds\")\n",
- " await asyncio.sleep(wait_time)\n",
+ " print(f\"Waiting for 2 seconds\")\n",
+ " await asyncio.sleep(2)\n",
" \n",
" elif action_type == \"screenshot\":\n",
" print(\"Taking screenshot\")\n",