Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
|
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()
|