Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -267,7 +267,7 @@ class VectorData():
|
|
267 |
def __init__(self):
|
268 |
embedding_model_name = 'l3cube-pune/punjabi-sentence-similarity-sbert'
|
269 |
|
270 |
-
model_kwargs = {'device':'
|
271 |
|
272 |
self.embeddings = HuggingFaceEmbeddings(
|
273 |
model_name=embedding_model_name,
|
|
|
267 |
def __init__(self):
|
268 |
embedding_model_name = 'l3cube-pune/punjabi-sentence-similarity-sbert'
|
269 |
|
270 |
+
model_kwargs = {'device':'cpu',"trust_remote_code": True}
|
271 |
|
272 |
self.embeddings = HuggingFaceEmbeddings(
|
273 |
model_name=embedding_model_name,
|