Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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=
|
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 |
|