Spaces:
Paused
Paused
Commit ·
4bdcb8a
1
Parent(s): 9ae5519
Refactor VectorDB.py to comment out debug print statement and update requirements.txt to correct docx package name
Browse files- VectorDB.py +1 -1
- requirements.txt +1 -1
VectorDB.py
CHANGED
|
@@ -35,7 +35,7 @@ def initRAG(device):
|
|
| 35 |
# check for ''
|
| 36 |
all_chunks = [chunk for chunk in all_chunks if chunk.strip()]
|
| 37 |
print(f"Total number of chunks: {len(all_chunks)}")
|
| 38 |
-
print(all_chunks)
|
| 39 |
|
| 40 |
# Generate embeddings and add to ChromaDB
|
| 41 |
embeddings = embeddings_model.encode(all_chunks)
|
|
|
|
| 35 |
# check for ''
|
| 36 |
all_chunks = [chunk for chunk in all_chunks if chunk.strip()]
|
| 37 |
print(f"Total number of chunks: {len(all_chunks)}")
|
| 38 |
+
# print(all_chunks)
|
| 39 |
|
| 40 |
# Generate embeddings and add to ChromaDB
|
| 41 |
embeddings = embeddings_model.encode(all_chunks)
|
requirements.txt
CHANGED
|
@@ -10,4 +10,4 @@ supabase
|
|
| 10 |
python-dotenv
|
| 11 |
gradio==5.14.0
|
| 12 |
spaces
|
| 13 |
-
docx
|
|
|
|
| 10 |
python-dotenv
|
| 11 |
gradio==5.14.0
|
| 12 |
spaces
|
| 13 |
+
python-docx
|