Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -37,7 +37,7 @@ text_splitter = RecursiveCharacterTextSplitter(
|
|
37 |
separators=["\n\n", "\n", " ", ""]
|
38 |
)
|
39 |
|
40 |
-
embeddings = SentenceTransformerEmbeddings(model_name="all-
|
41 |
foo = Document(page_content='foo is fou!',metadata={"source":'foo source'})
|
42 |
|
43 |
|
|
|
37 |
separators=["\n\n", "\n", " ", ""]
|
38 |
)
|
39 |
|
40 |
+
embeddings = SentenceTransformerEmbeddings(model_name="all-mpnet-base-v2")
|
41 |
foo = Document(page_content='foo is fou!',metadata={"source":'foo source'})
|
42 |
|
43 |
|