Spaces:
Paused
Paused
Update app/lens_text_core.py
Browse files8 unmodified lines9101112131421 unmodified lines363738394041428 unmodified linesfrom seleniumbase import DriverCHROME_BINARY_PATH = os.getenv("CHROME_BINARY_PATH", "").strip()LOGGER = logging.getLogger("lens_text_core")21 unmodified linesbrowser="chrome",uc=True,headless=True,incognito=True)drv.get("https://google.com/favicon.ico")8 unmodified lines91011121314151621 unmodified lines38394041424344458 unmodified linesfrom seleniumbase import Driveros.makedirs("/tmp/downloads", exist_ok=True)CHROME_BINARY_PATH = os.getenv("CHROME_BINARY_PATH", "").strip()LOGGER = logging.getLogger("lens_text_core")21 unmodified linesbrowser="chrome",uc=True,headless=True,incognito=True,downloads_path=os.environ.get("SB_DOWNLOADS_FOLDER", "/tmp/downloads"),)drv.get("https://google.com/favicon.ico")
app/lens_text_core.py+4-1