thechaiexperiment commited on
Commit
1f32e26
·
verified ·
1 Parent(s): 8473822

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -226,10 +226,7 @@ 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
- except Exception as e:
230
- print(f"Error loading documents data: {e}")
231
- data['df'] = pd.DataFrame()
232
- return False
233
 
234
 
235
  init_success = load_models() and load_data()
 
226
  return False
227
  print(f"Successfully loaded {len(data['df'])} document records.")
228
  return True
229
+
 
 
 
230
 
231
 
232
  init_success = load_models() and load_data()