AashitaK commited on
Commit
3ac3030
·
verified ·
1 Parent(s): 4172796

Update utils/file_utils.py

Browse files
Files changed (1) hide show
  1. utils/file_utils.py +1 -1
utils/file_utils.py CHANGED
@@ -156,7 +156,7 @@ def load_embeddings(database, database_filepath, embeddings_filepath):
156
  previous_timestamp = load_timestamp(timestamp_filepath)
157
 
158
  # Check if the timestamp of the database file is different from the stored timestamp (DB_UPDATE_TIMESTAMP)
159
- if database_timestamp != previous_timestamp:
160
  # If the database file has been updated, generate new embeddings and save them to the embeddings file
161
  database_embeddings = update_embeddings(database, embeddings_filepath)
162
 
 
156
  previous_timestamp = load_timestamp(timestamp_filepath)
157
 
158
  # Check if the timestamp of the database file is different from the stored timestamp (DB_UPDATE_TIMESTAMP)
159
+ if True: #database_timestamp != previous_timestamp:
160
  # If the database file has been updated, generate new embeddings and save them to the embeddings file
161
  database_embeddings = update_embeddings(database, embeddings_filepath)
162