Spaces:
Running
Running
lingyit1108
commited on
Commit
·
e236b6c
1
Parent(s):
8cbd452
added debugging code
Browse files
main.py
CHANGED
@@ -19,6 +19,9 @@ def main():
|
|
19 |
|
20 |
if not os.path.exists("./default.sqlite"):
|
21 |
|
|
|
|
|
|
|
22 |
documents = SimpleDirectoryReader(
|
23 |
input_files=["./raw_documents/HI_Knowledge_Base.pdf"]
|
24 |
).load_data()
|
|
|
19 |
|
20 |
if not os.path.exists("./default.sqlite"):
|
21 |
|
22 |
+
file_ls_str = ", ".join(os.listdir("./raw_documents"))
|
23 |
+
print(f"File list: {file_ls_str}")
|
24 |
+
print("")
|
25 |
documents = SimpleDirectoryReader(
|
26 |
input_files=["./raw_documents/HI_Knowledge_Base.pdf"]
|
27 |
).load_data()
|