plan291037 commited on
Commit
3d91b9b
·
verified ·
1 Parent(s): 9e03834

Update app/lens_images_core.py

Browse files
Files changed (1) hide show
  1. app/lens_images_core.py +3 -0
app/lens_images_core.py CHANGED
@@ -3,10 +3,13 @@ import os, json, time, hashlib, httpx, base64, re, asyncio, threading, shutil, l
3
  from typing import Dict, Any
4
  from urllib.parse import urlparse
5
 
 
6
  from selenium import webdriver
7
  from selenium.webdriver.chrome.options import Options as ChromeOptions
8
  from selenium.webdriver.chrome.service import Service as ChromeService
9
 
 
 
10
  LOGGER = logging.getLogger("lens_images_core")
11
  if not LOGGER.handlers:
12
  logging.basicConfig(
 
3
  from typing import Dict, Any
4
  from urllib.parse import urlparse
5
 
6
+ import chromedriver_autoinstaller
7
  from selenium import webdriver
8
  from selenium.webdriver.chrome.options import Options as ChromeOptions
9
  from selenium.webdriver.chrome.service import Service as ChromeService
10
 
11
+ chromedriver_autoinstaller.install()
12
+
13
  LOGGER = logging.getLogger("lens_images_core")
14
  if not LOGGER.handlers:
15
  logging.basicConfig(