rbughao commited on
Commit
77659a5
·
1 Parent(s): 19e782e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ from llama_index import VectorStoreIndex, SimpleDirectoryReader, SummaryIndex, d
10
  PDFReader = download_loader("PDFReader")
11
  loader = PDFReader()
12
 
13
- documents = loader.load_data(file=Path('./toolkit.pdf'))
14
  index = VectorStoreIndex.from_documents(documents)
15
  query_engine = index.as_query_engine()
16
 
 
10
  PDFReader = download_loader("PDFReader")
11
  loader = PDFReader()
12
 
13
+ documents = loader.load_data(file='toolkit.pdf')
14
  index = VectorStoreIndex.from_documents(documents)
15
  query_engine = index.as_query_engine()
16