Skip to content

Commit

Permalink
Merge pull request #173 from jacobSingh/master
Browse files Browse the repository at this point in the history
Added module to autoupgrade and select the proper Chromedriver version
  • Loading branch information
assafelovic authored Sep 10, 2023
2 parents b89fdaa + 9e80602 commit 8782701
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions actions/web_scrape.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
from selenium.webdriver.support import expected_conditions as EC
from selenium.webdriver.support.wait import WebDriverWait
from fastapi import WebSocket
import chromedriver_autoinstaller

import processing.text as summary

Expand All @@ -31,6 +32,7 @@

FILE_DIR = Path(__file__).parent.parent
CFG = Config()
chromedriver_autoinstaller.install() #Installs the latest compat version of chromedriver


async def async_browse(url: str, question: str, websocket: WebSocket) -> str:
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ fastapi
python-multipart
markdown
langchain==0.0.275
chromedriver-autoinstaller

0 comments on commit 8782701

Please sign in to comment.