Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -28,6 +28,8 @@ openai.api_key = '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'
|
|
| 28 |
# Recursive Splitting the whole text of emails into chunks
|
| 29 |
splits = text_splitter.split_documents(documents)
|
| 30 |
|
|
|
|
|
|
|
| 31 |
# Creating the Embeddings from the splits we created
|
| 32 |
embedding = OpenAIEmbeddings(openai_api_key=openai.api_key)
|
| 33 |
|
|
|
|
| 28 |
# Recursive Splitting the whole text of emails into chunks
|
| 29 |
splits = text_splitter.split_documents(documents)
|
| 30 |
|
| 31 |
+
print(splits[0:50])
|
| 32 |
+
|
| 33 |
# Creating the Embeddings from the splits we created
|
| 34 |
embedding = OpenAIEmbeddings(openai_api_key=openai.api_key)
|
| 35 |
|