new code
Browse files- src/pdfchatbot.py +1 -0
src/pdfchatbot.py
CHANGED
@@ -40,6 +40,7 @@ class PDFChatBot:
|
|
40 |
#self.chunk_size_slider = chunk_size_slider
|
41 |
|
42 |
def load_embeddings(self):
|
|
|
43 |
self.embeddings = HuggingFaceEmbeddings(model_name="sentence-transformers/all-MiniLM-L6-v2")
|
44 |
print("Embedding model loaded")
|
45 |
|
|
|
40 |
#self.chunk_size_slider = chunk_size_slider
|
41 |
|
42 |
def load_embeddings(self):
|
43 |
+
|
44 |
self.embeddings = HuggingFaceEmbeddings(model_name="sentence-transformers/all-MiniLM-L6-v2")
|
45 |
print("Embedding model loaded")
|
46 |
|