Spaces:
Runtime error
Runtime error
arjunanand13
commited on
Commit
•
b0c3b26
1
Parent(s):
af0adc9
Update app.py
Browse files
app.py
CHANGED
@@ -118,6 +118,10 @@ print('len of documents are',len(documents))
|
|
118 |
text_splitter = RecursiveCharacterTextSplitter(chunk_size=5000, chunk_overlap=250)
|
119 |
all_splits = text_splitter.split_documents(documents)
|
120 |
print(all_splits[0])
|
|
|
|
|
|
|
|
|
121 |
model_name = "sentence-transformers/all-mpnet-base-v2"
|
122 |
model_kwargs = {"device": "cuda"}
|
123 |
|
|
|
118 |
text_splitter = RecursiveCharacterTextSplitter(chunk_size=5000, chunk_overlap=250)
|
119 |
all_splits = text_splitter.split_documents(documents)
|
120 |
print(all_splits[0])
|
121 |
+
print("#########################################")
|
122 |
+
print(all_splits[0])
|
123 |
+
print("#########################################")
|
124 |
+
print(all_splits[0])
|
125 |
model_name = "sentence-transformers/all-mpnet-base-v2"
|
126 |
model_kwargs = {"device": "cuda"}
|
127 |
|