Update app.py
Browse files
app.py
CHANGED
|
@@ -95,7 +95,7 @@ LOCAL_BASE.mkdir(parents=True, exist_ok=True)
|
|
| 95 |
# Recreate the SAME embedding model used to build the index
|
| 96 |
emb = HuggingFaceEmbeddings(
|
| 97 |
model_name="google/embeddinggemma-300m",
|
| 98 |
-
model_kwargs={"device": "cuda"
|
| 99 |
encode_kwargs={"normalize_embeddings": True},
|
| 100 |
)
|
| 101 |
|
|
|
|
| 95 |
# Recreate the SAME embedding model used to build the index
|
| 96 |
emb = HuggingFaceEmbeddings(
|
| 97 |
model_name="google/embeddinggemma-300m",
|
| 98 |
+
model_kwargs={"device": "cuda"},
|
| 99 |
encode_kwargs={"normalize_embeddings": True},
|
| 100 |
)
|
| 101 |
|