Spaces:
Running
Running
Update rag.py
Browse files
rag.py
CHANGED
@@ -17,7 +17,6 @@ class RAG:
|
|
17 |
|
18 |
def __init__(self, embeddings_model):
|
19 |
|
20 |
-
self.model_name = model_name
|
21 |
|
22 |
# load vectore store
|
23 |
embeddings = HuggingFaceEmbeddings(model_name=embeddings_model, model_kwargs={'device': 'cpu'})
|
|
|
17 |
|
18 |
def __init__(self, embeddings_model):
|
19 |
|
|
|
20 |
|
21 |
# load vectore store
|
22 |
embeddings = HuggingFaceEmbeddings(model_name=embeddings_model, model_kwargs={'device': 'cpu'})
|