computer-use-ootb-internal 0.0.109__py3-none-any.whl → 0.0.109.post1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- computer_use_ootb_internal/app_teachmode.py +0 -2
- computer_use_ootb_internal/computer_use_demo/gui_agent/gui_parser/simple_parser/utils.py +7 -0
- computer_use_ootb_internal/run_teachmode_ootb_args.py +2 -3
- {computer_use_ootb_internal-0.0.109.dist-info → computer_use_ootb_internal-0.0.109.post1.dist-info}/METADATA +1 -1
- {computer_use_ootb_internal-0.0.109.dist-info → computer_use_ootb_internal-0.0.109.post1.dist-info}/RECORD +7 -7
- {computer_use_ootb_internal-0.0.109.dist-info → computer_use_ootb_internal-0.0.109.post1.dist-info}/WHEEL +0 -0
- {computer_use_ootb_internal-0.0.109.dist-info → computer_use_ootb_internal-0.0.109.post1.dist-info}/entry_points.txt +0 -0
@@ -5,14 +5,12 @@ from datetime import datetime
|
|
5
5
|
import threading
|
6
6
|
import requests
|
7
7
|
import platform # Add platform import
|
8
|
-
import subprocess # Add subprocess import
|
9
8
|
import pyautogui # Add pyautogui import
|
10
9
|
import webbrowser # Add webbrowser import
|
11
10
|
import os # Import os for path joining
|
12
11
|
from fastapi import FastAPI, Request
|
13
12
|
from fastapi.responses import JSONResponse
|
14
13
|
from fastapi.middleware.cors import CORSMiddleware
|
15
|
-
from screeninfo import get_monitors
|
16
14
|
from computer_use_ootb_internal.computer_use_demo.tools.computer import get_screen_details
|
17
15
|
from computer_use_ootb_internal.run_teachmode_ootb_args import simple_teachmode_sampling_loop
|
18
16
|
|
@@ -4,6 +4,13 @@ import datetime
|
|
4
4
|
import numpy as np
|
5
5
|
import cv2
|
6
6
|
|
7
|
+
def get_screen_resize_factor():
|
8
|
+
# import ctypes
|
9
|
+
# scaleFactor = ctypes.windll.shcore.GetScaleFactorForDevice(0) / 100
|
10
|
+
# scaleFactor = str(scaleFactor) + "x"
|
11
|
+
# return scaleFactor
|
12
|
+
return "1.0x"
|
13
|
+
|
7
14
|
|
8
15
|
def multivalue_image(img, mode='None', thresholds=None, interval_values=None, save=True, cache_folder=None):
|
9
16
|
img = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY)
|
@@ -7,9 +7,8 @@ import datetime
|
|
7
7
|
from datetime import datetime, timedelta, timezone
|
8
8
|
|
9
9
|
from computer_use_ootb_internal.computer_use_demo.executor.teachmode_executor import TeachmodeExecutor
|
10
|
-
from computer_use_ootb_internal.computer_use_demo.gui_agent.
|
11
|
-
from computer_use_ootb_internal.computer_use_demo.gui_agent.
|
12
|
-
from computer_use_ootb_internal.computer_use_demo.gui_agent.gui_parser.simple_parser.icon_detection.icon_detection import get_screen_resize_factor
|
10
|
+
from computer_use_ootb_internal.computer_use_demo.gui_agent.llm_utils.llm_utils import is_image_path
|
11
|
+
from computer_use_ootb_internal.computer_use_demo.gui_agent.gui_parser.simple_parser.utils import get_screen_resize_factor
|
13
12
|
from computer_use_ootb_internal.computer_use_demo.tools.aws_request import send_request_to_server
|
14
13
|
from computer_use_ootb_internal.computer_use_demo.gui_agent.gui_parser.uia_tools.screenshot_service import get_screenshot_external_cmd
|
15
14
|
utc_plus_8 = timezone(timedelta(hours=8))
|
@@ -1,16 +1,16 @@
|
|
1
1
|
computer_use_ootb_internal/README.md,sha256=FxpW95lyub2iX73ZDfK6ML7SdEKg060H5I6Grub7li4,31
|
2
|
-
computer_use_ootb_internal/app_teachmode.py,sha256=
|
2
|
+
computer_use_ootb_internal/app_teachmode.py,sha256=Yb5LtyaW4agGsfTmVvnIAkERXILkg3KkUZf7yI1dW-g,19253
|
3
3
|
computer_use_ootb_internal/app_teachmode_gradio.py,sha256=cmFpBrkdlZxOQADWveVdIaaNqaBD8IVs-xNLJogU7F8,7909
|
4
4
|
computer_use_ootb_internal/dependency_check.py,sha256=y8RMEP6RXQzTgU1MS_1piBLtz4J-Hfn9RjUZg59dyvo,1333
|
5
5
|
computer_use_ootb_internal/requirements-lite.txt,sha256=5DAHomz4A_P2BmTIXNkNqkHbnIF0AyZ4_1XAlb1LaYs,290
|
6
|
-
computer_use_ootb_internal/run_teachmode_ootb_args.py,sha256=
|
6
|
+
computer_use_ootb_internal/run_teachmode_ootb_args.py,sha256=7Dj0iY4GG7P03tRKYJ2x9Yvt-PE-b7uyjCAed3SaF3Y,7086
|
7
7
|
computer_use_ootb_internal/computer_use_demo/animation/click_animation.py,sha256=tP1gsayFy-CKk10UlrE9RlexwlHWiHQUe5Ogg4vQvSg,3234
|
8
8
|
computer_use_ootb_internal/computer_use_demo/animation/icons8-select-cursor-transparent-96.gif,sha256=4LfwsfFQnREXrNRs32aJU2jO65JXianJoL_8q7-8elg,30966
|
9
9
|
computer_use_ootb_internal/computer_use_demo/animation/test_animation.py,sha256=SOJz2yffXTkjuAHqk0IZLcMriR0KQYTo7W1b8wGyRGY,1222
|
10
10
|
computer_use_ootb_internal/computer_use_demo/executor/teachmode_executor.py,sha256=1xver_8cRCrFk85OYqEQ7LUPYs5v2Mvtg944wiGN05A,16562
|
11
11
|
computer_use_ootb_internal/computer_use_demo/gui_agent/gui_parser/simple_parser/__init__.py,sha256=h2CNeuACklxVpJC65QR8_6AvSybEZLmeO45hY_-lLBs,61
|
12
12
|
computer_use_ootb_internal/computer_use_demo/gui_agent/gui_parser/simple_parser/gui_capture.py,sha256=CxFJbsSb68ERKH7-C4RaaZy7FIhhzrzGx5qQJ4C37cA,13907
|
13
|
-
computer_use_ootb_internal/computer_use_demo/gui_agent/gui_parser/simple_parser/utils.py,sha256=
|
13
|
+
computer_use_ootb_internal/computer_use_demo/gui_agent/gui_parser/simple_parser/utils.py,sha256=OOVxy4Qlbk5q-X9kXFXqt6AmuOMl6FWWqtH269DvJJA,10005
|
14
14
|
computer_use_ootb_internal/computer_use_demo/gui_agent/gui_parser/uia_tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
15
15
|
computer_use_ootb_internal/computer_use_demo/gui_agent/gui_parser/uia_tools/screenshot_cli.py,sha256=hrUBH3aeUe9t4EDsMhaUZLPpNLKeEaG4ZvikrFy-bOU,1313
|
16
16
|
computer_use_ootb_internal/computer_use_demo/gui_agent/gui_parser/uia_tools/screenshot_service.py,sha256=fJ8G4_-ZLGsHLdLgHCNgjVM1osbfz21L2w8QrcvnuhA,2738
|
@@ -31,7 +31,7 @@ computer_use_ootb_internal/computer_use_demo/tools/computer_marbot.py,sha256=zZu
|
|
31
31
|
computer_use_ootb_internal/computer_use_demo/tools/edit.py,sha256=b0PwUitxckHCQqFP3ZwlthWdqNkn7WETeTHeB6-o98c,11486
|
32
32
|
computer_use_ootb_internal/computer_use_demo/tools/run.py,sha256=xhXdnBK1di9muaO44CEirL9hpGy3NmKbjfMpyeVmn8Y,1595
|
33
33
|
computer_use_ootb_internal/computer_use_demo/tools/screen_capture.py,sha256=L8qfvtUkPPQGt92N-2Zfw5ZTDBzLsDps39uMnX3_uSA,6857
|
34
|
-
computer_use_ootb_internal-0.0.109.dist-info/METADATA,sha256=
|
35
|
-
computer_use_ootb_internal-0.0.109.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
36
|
-
computer_use_ootb_internal-0.0.109.dist-info/entry_points.txt,sha256=-AbmawU7IRQuDZihgVMVDrFoY4E6rnXYOUB-5vSeBKs,93
|
37
|
-
computer_use_ootb_internal-0.0.109.dist-info/RECORD,,
|
34
|
+
computer_use_ootb_internal-0.0.109.post1.dist-info/METADATA,sha256=sK_kPqyLBjBFbinqhhx7t83mYHAHyeyPnQlr-h3PAQA,916
|
35
|
+
computer_use_ootb_internal-0.0.109.post1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
36
|
+
computer_use_ootb_internal-0.0.109.post1.dist-info/entry_points.txt,sha256=-AbmawU7IRQuDZihgVMVDrFoY4E6rnXYOUB-5vSeBKs,93
|
37
|
+
computer_use_ootb_internal-0.0.109.post1.dist-info/RECORD,,
|
File without changes
|
File without changes
|