Spaces:
Build error
Build error
Update utils/database.py
Browse files- utils/database.py +2 -2
utils/database.py
CHANGED
|
@@ -198,8 +198,8 @@ def get_embeddings_model():
|
|
| 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 = '
|
| 202 |
-
utils_database_path = '
|
| 203 |
|
| 204 |
# Writing the updated contents back to the original files
|
| 205 |
with open(components_chat_path, 'w') as chat_file:
|
|
|
|
| 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 = 'components/chat.py'
|
| 202 |
+
utils_database_path = 'utils/database.py'
|
| 203 |
|
| 204 |
# Writing the updated contents back to the original files
|
| 205 |
with open(components_chat_path, 'w') as chat_file:
|