Update README to show package downloads (#1013)

This commit is contained in:
Deven Patel
2023-12-15 11:05:13 +05:30
committed by GitHub
parent 0efbc80ac9
commit 65c8dd445b
2 changed files with 4 additions and 1 deletions

View File

@@ -25,7 +25,7 @@ class ChunkerConfig(BaseConfig):
self.min_chunk_size = min_chunk_size
if self.min_chunk_size >= self.chunk_size:
raise ValueError(f"min_chunk_size {min_chunk_size} should be less than chunk_size {chunk_size}")
if self.min_chunk_size <= self.chunk_overlap:
if self.min_chunk_size < self.chunk_overlap:
logging.warn(
f"min_chunk_size {min_chunk_size} should be greater than chunk_overlap {chunk_overlap}, otherwise it is redundant." # noqa:E501
)