cryogenic22 commited on
Commit
a3d35a8
·
verified ·
1 Parent(s): 4bc8435

Update utils/database.py

Browse files
Files changed (1) hide show
  1. utils/database.py +3 -0
utils/database.py CHANGED
@@ -197,6 +197,9 @@ def get_embeddings_model():
197
  except Exception as e:
198
  st.error(f"Error loading embeddings model: {e}")
199
  return None
 
 
 
200
 
201
  # Writing the updated contents back to the original files
202
  with open(components_chat_path, 'w') as chat_file:
 
197
  except Exception as e:
198
  st.error(f"Error loading embeddings model: {e}")
199
  return None
200
+ # Defining the file paths explicitly again before writing the updated content
201
+ components_chat_path = '/mnt/data/components_chat.py'
202
+ utils_database_path = '/mnt/data/utils_database.py'
203
 
204
  # Writing the updated contents back to the original files
205
  with open(components_chat_path, 'w') as chat_file: