Jalajk commited on
Commit
ebff52c
1 Parent(s): 583b50f

Update Index.py

Browse files
Files changed (1) hide show
  1. Index.py +1 -1
Index.py CHANGED
@@ -148,7 +148,7 @@ def _upsert_docs(doc, embeddings, vector_doc_path: str, db_present: bool):
148
  def get_domain_file_path(domain: str, file_path: str):
149
  print(domain, file_path)
150
  print(os.getcwd())
151
- bool_value = _check_if_db_exists(db_path=f"{os.getcwd()}\index\{domain}\documents")
152
  print(bool_value)
153
  if bool_value:
154
  embeddings = load_embeddings(domain=domain, db_present=bool_value)
 
148
  def get_domain_file_path(domain: str, file_path: str):
149
  print(domain, file_path)
150
  print(os.getcwd())
151
+ bool_value = _check_if_db_exists(db_path=f"{os.getcwd()}/index/{domain}/documents")
152
  print(bool_value)
153
  if bool_value:
154
  embeddings = load_embeddings(domain=domain, db_present=bool_value)