mirror of
https://github.com/imartinez/privateGPT.git
synced 2025-07-19 17:59:03 +00:00
Merge pull request #268 from vilaca/dotenv-called-twice
remove duplicate call 'load_dotenv()' in ingester.py
This commit is contained in:
commit
42046c5ec0
@ -24,9 +24,6 @@ from langchain.docstore.document import Document
|
|||||||
from constants import CHROMA_SETTINGS
|
from constants import CHROMA_SETTINGS
|
||||||
|
|
||||||
|
|
||||||
load_dotenv()
|
|
||||||
|
|
||||||
|
|
||||||
# Map file extensions to document loaders and their arguments
|
# Map file extensions to document loaders and their arguments
|
||||||
LOADER_MAPPING = {
|
LOADER_MAPPING = {
|
||||||
".csv": (CSVLoader, {}),
|
".csv": (CSVLoader, {}),
|
||||||
|
Loading…
Reference in New Issue
Block a user