Spaces:
Running
Running
Kuberwastaken
commited on
Commit
·
5c77929
1
Parent(s):
e5b66ad
Another Minor Adjustment
Browse files- model/analyzer.py +1 -1
model/analyzer.py
CHANGED
@@ -60,7 +60,7 @@ class ContentAnalyzer:
|
|
60 |
traceback.print_exc()
|
61 |
raise
|
62 |
|
63 |
-
def _chunk_text(self, text: str, chunk_size: int = 256, overlap: int =
|
64 |
"""Split text into overlapping chunks for processing."""
|
65 |
chunks = []
|
66 |
for i in range(0, len(text), chunk_size - overlap):
|
|
|
60 |
traceback.print_exc()
|
61 |
raise
|
62 |
|
63 |
+
def _chunk_text(self, text: str, chunk_size: int = 256, overlap: int = 15) -> List[str]:
|
64 |
"""Split text into overlapping chunks for processing."""
|
65 |
chunks = []
|
66 |
for i in range(0, len(text), chunk_size - overlap):
|