Raj718 commited on
Commit
8a1badd
·
1 Parent(s): fe24c7b

Fix helium import error by commenting out browser automation imports - Since we're using mock data, browser dependencies are no longer needed - This resolves the ModuleNotFoundError for helium in the Space environment

Browse files
Files changed (1) hide show
  1. browser_agent.py +3 -3
browser_agent.py CHANGED
@@ -7,9 +7,9 @@ import re
7
  from concurrent.futures import ThreadPoolExecutor, as_completed
8
  from datetime import datetime, timezone
9
  from smolagents import Tool
10
- import helium
11
- from selenium.common.exceptions import NoSuchElementException
12
- from selenium.webdriver.chrome.options import Options
13
  # Browser automation dependencies commented out for mock demo
14
  # from selenium import webdriver
15
  # from webdriver_manager.chrome import ChromeDriverManager
 
7
  from concurrent.futures import ThreadPoolExecutor, as_completed
8
  from datetime import datetime, timezone
9
  from smolagents import Tool
10
+ # import helium
11
+ # from selenium.common.exceptions import NoSuchElementException
12
+ # from selenium.webdriver.chrome.options import Options
13
  # Browser automation dependencies commented out for mock demo
14
  # from selenium import webdriver
15
  # from webdriver_manager.chrome import ChromeDriverManager