Firoj112 commited on
Commit
32c5e0f
·
verified ·
1 Parent(s): 27d6b30

Update tools/detect_elements.py

Browse files
Files changed (1) hide show
  1. tools/detect_elements.py +1 -1
tools/detect_elements.py CHANGED
@@ -8,7 +8,7 @@ class DetectElementsTool(Tool):
8
  name = "detect_elements"
9
  description = "Detects table-like structures or text boxes in a screenshot using OpenCV."
10
  inputs = {
11
- "screenshot_path": {"type": "string", "nullable": False, "description": "Path to the screenshot"},
12
  "element_type": {"type": "string", "default": "table", "nullable": False, "description": "Type: 'table' or 'textbox'"}
13
  }
14
  output_type = "string"
 
8
  name = "detect_elements"
9
  description = "Detects table-like structures or text boxes in a screenshot using OpenCV."
10
  inputs = {
11
+ "screenshot_path": {"type": "string", "nullable": True, "description": "Path to the screenshot"},
12
  "element_type": {"type": "string", "default": "table", "nullable": False, "description": "Type: 'table' or 'textbox'"}
13
  }
14
  output_type = "string"