From 80f6be73e110aca8b9337d90dc049b0aef98d493 Mon Sep 17 00:00:00 2001 From: yadonglu Date: Sat, 1 Feb 2025 14:25:55 -0800 Subject: [PATCH] fix readme download model weight folder structure --- .gitignore | 2 ++ computer_use_demo/readme.md | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 40c4d8c..1cbd9d3 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,5 @@ weights/icon_detect_v1_5_2/ __pycache__/ debug.ipynb util/__pycache__/ +index.html?linkid=2289031 +wget-log \ No newline at end of file diff --git a/computer_use_demo/readme.md b/computer_use_demo/readme.md index df44c59..ddf5107 100644 --- a/computer_use_demo/readme.md +++ b/computer_use_demo/readme.md @@ -45,7 +45,8 @@ Notes: g. Continue from here if you already had the conda environment. - h. Ensure you have the weights downloaded in weights folder. If not download them with `for folder in icon_caption_blip2 icon_caption_florence icon_detect icon_detect_v1_5; do huggingface-cli download microsoft/OmniParser --local-dir weights/"$folder" --repo-type model --include "$folder/*"; done` + h. Ensure you have the weights downloaded in weights folder. If not download them with: + `for folder in icon_caption_florence icon_detect icon_detect_v1_5; do huggingface-cli download microsoft/OmniParser --local-dir weights/ --repo-type model --include "$folder/*"; done` h. Navigate to the server directory with `cd OmniParser/computer_use_demo/omniparserserver`