Spaces:
Paused
Paused
add prints
Browse files
app.py
CHANGED
@@ -75,7 +75,7 @@ def predict(query, pdf_file):
|
|
75 |
|
76 |
with open(pdf_path, 'wb') as f:
|
77 |
pdf_writer.write(f)
|
78 |
-
os.system("ls data")
|
79 |
|
80 |
pdf_paths = load_pdf_paths(data_root)
|
81 |
rag_chain = build_rag_chain(pdf_paths)
|
|
|
75 |
|
76 |
with open(pdf_path, 'wb') as f:
|
77 |
pdf_writer.write(f)
|
78 |
+
os.system("ls data/pdf")
|
79 |
|
80 |
pdf_paths = load_pdf_paths(data_root)
|
81 |
rag_chain = build_rag_chain(pdf_paths)
|