Spaces:
Runtime error
Runtime error
ubermenchh
commited on
Commit
•
78fe269
1
Parent(s):
63c422c
Update app.py
Browse files
app.py
CHANGED
@@ -57,7 +57,7 @@ def chat():
|
|
57 |
loader = YoutubeLoader(video_id)
|
58 |
documents = loader.load()
|
59 |
|
60 |
-
text_splitter = RecursiveCharacterTextSplitter(chunk_size=1000,
|
61 |
documents = text_splitter.split_documents(documents)
|
62 |
|
63 |
vector_db = Chroma.from_documents(
|
|
|
57 |
loader = YoutubeLoader(video_id)
|
58 |
documents = loader.load()
|
59 |
|
60 |
+
text_splitter = RecursiveCharacterTextSplitter(chunk_size=1000, chunk_overlap=100)
|
61 |
documents = text_splitter.split_documents(documents)
|
62 |
|
63 |
vector_db = Chroma.from_documents(
|