Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -57,7 +57,7 @@ class PDFChatbot:
|
|
57 |
buffer_size=1, # total sentence collected before perform text split
|
58 |
breakpoint_threshold_type='percentile', # set splitting style: 'percentage' of similarity
|
59 |
breakpoint_threshold_amount=95, # split text if similarity score > 95%
|
60 |
-
min_chunk_size=500,
|
61 |
add_start_index=True, # assign index for chunk
|
62 |
)
|
63 |
|
|
|
57 |
buffer_size=1, # total sentence collected before perform text split
|
58 |
breakpoint_threshold_type='percentile', # set splitting style: 'percentage' of similarity
|
59 |
breakpoint_threshold_amount=95, # split text if similarity score > 95%
|
60 |
+
# min_chunk_size=500,
|
61 |
add_start_index=True, # assign index for chunk
|
62 |
)
|
63 |
|