Spaces:
Running
Running
Update src/main.py
Browse files- src/main.py +1 -1
src/main.py
CHANGED
@@ -49,7 +49,7 @@ def split_data(data):
|
|
49 |
def ingest_chunks(chunks):
|
50 |
embedding = OllamaEmbeddings(
|
51 |
base_url='https://thewise-ollama-server.hf.space',
|
52 |
-
model="nomic-embed-text",
|
53 |
)
|
54 |
vector_store = DocArrayInMemorySearch.from_documents(chunks, embedding)
|
55 |
|
|
|
49 |
def ingest_chunks(chunks):
|
50 |
embedding = OllamaEmbeddings(
|
51 |
base_url='https://thewise-ollama-server.hf.space',
|
52 |
+
model="nomic-embed-text:latest",
|
53 |
)
|
54 |
vector_store = DocArrayInMemorySearch.from_documents(chunks, embedding)
|
55 |
|