Update app/injest.py
Browse files- app/injest.py +1 -1
app/injest.py
CHANGED
@@ -17,7 +17,7 @@ def create_vector_db():
|
|
17 |
chunk_overlap=50)
|
18 |
texts = text_splitter.split_documents(documents)
|
19 |
|
20 |
-
embeddings = HuggingFaceEmbeddings(model_name='Qwen/Qwen1.5-0.5B-Chat
|
21 |
model_kwargs={'device': 'cpu'})
|
22 |
|
23 |
db = FAISS.from_documents(texts, embeddings)
|
|
|
17 |
chunk_overlap=50)
|
18 |
texts = text_splitter.split_documents(documents)
|
19 |
|
20 |
+
embeddings = HuggingFaceEmbeddings(model_name='Qwen/Qwen1.5-0.5B-Chat',
|
21 |
model_kwargs={'device': 'cpu'})
|
22 |
|
23 |
db = FAISS.from_documents(texts, embeddings)
|