cache
This commit is contained in:
@@ -2,3 +2,4 @@ __pycache__
|
|||||||
/venv
|
/venv
|
||||||
/.env
|
/.env
|
||||||
.git
|
.git
|
||||||
|
/cache
|
||||||
|
|||||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -2,3 +2,4 @@ __pycache__
|
|||||||
/venv
|
/venv
|
||||||
/.env
|
/.env
|
||||||
.git
|
.git
|
||||||
|
/cache
|
||||||
|
|||||||
@@ -20,6 +20,9 @@ from langchain.embeddings import OpenAIEmbeddings
|
|||||||
|
|
||||||
from selenium import webdriver
|
from selenium import webdriver
|
||||||
|
|
||||||
|
if not os.path.exists("./cache"):
|
||||||
|
os.mkdir("./cache")
|
||||||
|
|
||||||
print("lanuching driver")
|
print("lanuching driver")
|
||||||
options = webdriver.FirefoxOptions()
|
options = webdriver.FirefoxOptions()
|
||||||
options.add_argument("-headless")
|
options.add_argument("-headless")
|
||||||
|
|||||||
Reference in New Issue
Block a user