Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -85,6 +85,7 @@ def find_closest(query):
|
|
85 |
|
86 |
for file in os.listdir():
|
87 |
if file.endswith(".txt") and file not in files_to_exclude :
|
|
|
88 |
with open(file, 'r') as f:
|
89 |
content = f.read()
|
90 |
files_contents.append(content)
|
|
|
85 |
|
86 |
for file in os.listdir():
|
87 |
if file.endswith(".txt") and file not in files_to_exclude :
|
88 |
+
print(f"Found .txt file: {file}")
|
89 |
with open(file, 'r') as f:
|
90 |
content = f.read()
|
91 |
files_contents.append(content)
|