Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -50,8 +50,8 @@ collection = client.get_or_create_collection(
|
|
| 50 |
embedding_model = SentenceTransformer("intfloat/multilingual-e5-base")
|
| 51 |
|
| 52 |
# Initialize the text splitter
|
| 53 |
-
text_splitter = RecursiveCharacterTextSplitter(chunk_size=1200, chunk_overlap=300)
|
| 54 |
-
|
| 55 |
|
| 56 |
total_chunks = 0
|
| 57 |
|
|
|
|
| 50 |
embedding_model = SentenceTransformer("intfloat/multilingual-e5-base")
|
| 51 |
|
| 52 |
# Initialize the text splitter
|
| 53 |
+
#text_splitter = RecursiveCharacterTextSplitter(chunk_size=1200, chunk_overlap=300)
|
| 54 |
+
text_splitter = RecursiveCharacterTextSplitter(chunk_size=800, chunk_overlap=200)
|
| 55 |
|
| 56 |
total_chunks = 0
|
| 57 |
|