ppsingh commited on
Commit
1c586ef
1 Parent(s): a7e233d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -19,8 +19,12 @@ from langchain_huggingface import HuggingFaceEndpoint
19
  from dotenv import load_dotenv
20
  load_dotenv()
21
  HF_token = os.environ["HF_TOKEN"]
 
22
  # process all files and get the vectorstores collections
23
- vectorstores = process_pdf()
 
 
 
24
 
25
  # -------------------------------------------------------------
26
  # Functions
 
19
  from dotenv import load_dotenv
20
  load_dotenv()
21
  HF_token = os.environ["HF_TOKEN"]
22
+ ######## Vector Store #######
23
  # process all files and get the vectorstores collections
24
+ # vectorestore colection are stored on persistent storage so this needs to be run only once
25
+ # hence, comment out line below when creating for first time
26
+ # vectorstores = process_pdf()
27
+ #------now we will only use the existing embedding----------
28
 
29
  # -------------------------------------------------------------
30
  # Functions