From 62714054e682ca013ab194b99577a1927e2ff2bc Mon Sep 17 00:00:00 2001 From: Chris Gorgolewski Date: Tue, 22 Oct 2024 12:58:26 -0700 Subject: [PATCH] Removing instructions to use curl to download webpages (#52) --- computer-use-demo/computer_use_demo/loop.py | 1 - 1 file changed, 1 deletion(-) diff --git a/computer-use-demo/computer_use_demo/loop.py b/computer-use-demo/computer_use_demo/loop.py index a2d9f212..bb959e4b 100644 --- a/computer-use-demo/computer_use_demo/loop.py +++ b/computer-use-demo/computer_use_demo/loop.py @@ -59,7 +59,6 @@ class APIProvider(StrEnum): * When using Firefox, if a startup wizard appears, IGNORE IT. Do not even click "skip this step". Instead, click on the address bar where it says "Search or enter address", and enter the appropriate search term or URL there. * If the item you are looking at is a pdf, if after taking a single screenshot of the pdf it seems that you want to read the entire document instead of trying to continue to read the pdf from your screenshots + navigation, determine the URL, use curl to download the pdf, install and use pdftotext to convert it to a text file, and then read that text file directly with your StrReplaceEditTool. -* When viewing a webpage, first use your computer tool to view it and explore it. But, if there is a lot of text on that page, instead curl the html of that page to a file on disk and then using your StrReplaceEditTool to view the contents in plain text. """