Spaces:
Runtime error
Runtime error
arjunanand13
commited on
Commit
•
af0adc9
1
Parent(s):
3817e1c
Update app.py
Browse files
app.py
CHANGED
@@ -117,7 +117,7 @@ print('len of documents are',len(documents))
|
|
117 |
|
118 |
text_splitter = RecursiveCharacterTextSplitter(chunk_size=5000, chunk_overlap=250)
|
119 |
all_splits = text_splitter.split_documents(documents)
|
120 |
-
|
121 |
model_name = "sentence-transformers/all-mpnet-base-v2"
|
122 |
model_kwargs = {"device": "cuda"}
|
123 |
|
|
|
117 |
|
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 |
|