This commit is contained in:
2023-10-21 21:46:54 +08:00
parent f20dfb7581
commit 8585f6424b
3 changed files with 5 additions and 0 deletions

View File

@@ -2,3 +2,4 @@ __pycache__
/venv
/.env
.git
/cache

1
.gitignore vendored
View File

@@ -2,3 +2,4 @@ __pycache__
/venv
/.env
.git
/cache

View File

@@ -20,6 +20,9 @@ from langchain.embeddings import OpenAIEmbeddings
from selenium import webdriver
if not os.path.exists("./cache"):
os.mkdir("./cache")
print("lanuching driver")
options = webdriver.FirefoxOptions()
options.add_argument("-headless")