Spaces:
Sleeping
Sleeping
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- 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
|