Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update auditqa/doc_process.py
Browse files- auditqa/doc_process.py +1 -0
auditqa/doc_process.py
CHANGED
@@ -62,6 +62,7 @@ def process_pdf():
|
|
62 |
doc.metadata["source"] = category
|
63 |
doc.metadata["subtype"] = subtype
|
64 |
doc.metadata["year"] = file[-4:]
|
|
|
65 |
|
66 |
all_documents[category].append(doc_processed)
|
67 |
|
|
|
62 |
doc.metadata["source"] = category
|
63 |
doc.metadata["subtype"] = subtype
|
64 |
doc.metadata["year"] = file[-4:]
|
65 |
+
doc.metadata["filename"] = file
|
66 |
|
67 |
all_documents[category].append(doc_processed)
|
68 |
|