Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -24,7 +24,7 @@ data = ds["test"]["abstract"][:20] # take first examples
|
|
| 24 |
|
| 25 |
|
| 26 |
# 1. Initialize the Embedding Model (Converts text to math)
|
| 27 |
-
embed_model = HuggingFaceEmbeddings(model_name="
|
| 28 |
|
| 29 |
# 2. Create and Populate Vector Store
|
| 30 |
vectorstore = Chroma(
|
|
|
|
| 24 |
|
| 25 |
|
| 26 |
# 1. Initialize the Embedding Model (Converts text to math)
|
| 27 |
+
embed_model = HuggingFaceEmbeddings(model_name="sentence-transformers/all-MiniLM-L6-v2")
|
| 28 |
|
| 29 |
# 2. Create and Populate Vector Store
|
| 30 |
vectorstore = Chroma(
|