thechaiexperiment commited on
Commit
9037da0
·
verified ·
1 Parent(s): e55fab5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
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():