RishuD7 commited on
Commit
28115eb
1 Parent(s): 87ad181
Files changed (1) hide show
  1. ingest.py +0 -4
ingest.py CHANGED
@@ -24,8 +24,6 @@ from langchain.docstore.document import Document
24
  from constants import CHROMA_SETTINGS
25
 
26
 
27
- load_dotenv()
28
-
29
  embeddings_model_name = "all-MiniLM-L6-v2"
30
  persist_directory = "db"
31
  model = "tiiuae/falcon-7b-instruct"
@@ -47,8 +45,6 @@ LOADER_MAPPING = {
47
  }
48
 
49
 
50
- load_dotenv()
51
-
52
 
53
  def load_single_document(file_path: str) -> Document:
54
  ext = "." + file_path.rsplit(".", 1)[-1]
 
24
  from constants import CHROMA_SETTINGS
25
 
26
 
 
 
27
  embeddings_model_name = "all-MiniLM-L6-v2"
28
  persist_directory = "db"
29
  model = "tiiuae/falcon-7b-instruct"
 
45
  }
46
 
47
 
 
 
48
 
49
  def load_single_document(file_path: str) -> Document:
50
  ext = "." + file_path.rsplit(".", 1)[-1]