Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -226,7 +226,9 @@ def load_documents_data(folder_path='downloaded_articles/downloaded_articles'):
|
|
226 |
return False
|
227 |
print(f"Successfully loaded {len(data['df'])} document records.")
|
228 |
return True
|
229 |
-
|
|
|
|
|
230 |
|
231 |
|
232 |
def load_data():
|
|
|
226 |
return False
|
227 |
print(f"Successfully loaded {len(data['df'])} document records.")
|
228 |
return True
|
229 |
+
except Exception as e:
|
230 |
+
print(f"Error loading docs: {e}")
|
231 |
+
return None
|
232 |
|
233 |
|
234 |
def load_data():
|