Spaces:
Sleeping
Sleeping
danicafisher
commited on
Commit
•
d95aaca
1
Parent(s):
0073a3b
Update app.py
Browse files
app.py
CHANGED
@@ -13,8 +13,8 @@ import chainlit as cl
|
|
13 |
import nest_asyncio
|
14 |
nest_asyncio.apply()
|
15 |
|
16 |
-
pdf_loader_NIST = PyMuPDFLoader("data/NIST.AI.600-1.pdf")
|
17 |
-
pdf_loader_Blueprint = PyMuPDFLoader("data/Blueprint-for-an-AI-Bill-of-Rights.pdf")
|
18 |
# pdf_loader_NIST = PDFFileLoader("data/NIST.AI.600-1.pdf")
|
19 |
# pdf_loader_Blueprint = PDFFileLoader("data/Blueprint-for-an-AI-Bill-of-Rights.pdf")
|
20 |
# documents_NIST = pdf_loader_NIST.load_documents()
|
|
|
13 |
import nest_asyncio
|
14 |
nest_asyncio.apply()
|
15 |
|
16 |
+
pdf_loader_NIST = PyMuPDFLoader(filepath="data/NIST.AI.600-1.pdf").load()
|
17 |
+
pdf_loader_Blueprint = PyMuPDFLoader(filepath="data/Blueprint-for-an-AI-Bill-of-Rights.pdf").load()
|
18 |
# pdf_loader_NIST = PDFFileLoader("data/NIST.AI.600-1.pdf")
|
19 |
# pdf_loader_Blueprint = PDFFileLoader("data/Blueprint-for-an-AI-Bill-of-Rights.pdf")
|
20 |
# documents_NIST = pdf_loader_NIST.load_documents()
|