Spaces:
Sleeping
Sleeping
danicafisher
commited on
Commit
•
5c7cc99
1
Parent(s):
d95aaca
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(
|
17 |
-
pdf_loader_Blueprint = PyMuPDFLoader(
|
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(file_path="data/NIST.AI.600-1.pdf").load()
|
17 |
+
pdf_loader_Blueprint = PyMuPDFLoader(file_path="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()
|