Chris4K commited on
Commit
70bd277
1 Parent(s): 93f7407

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -85,7 +85,10 @@ def get_vectorstore(text_chunks):
85
  print("-----")
86
  return vectorstore
87
 
88
- pdf_text = get_pdf_text("rag-tool/new_papers/ALiBi.pdf")
 
 
 
89
  text_chunks = get_text_chunks(pdf_text)
90
  api_db = get_vectorstore(text_chunks)
91
 
 
85
  print("-----")
86
  return vectorstore
87
 
88
+ # Adjust the path to your PDF file by escaping the space
89
+ pdf_path = "new_papers/ALiBi.pdf"
90
+ pdf_text = get_pdf_text(pdf_path)
91
+
92
  text_chunks = get_text_chunks(pdf_text)
93
  api_db = get_vectorstore(text_chunks)
94