KeshavRa commited on
Commit
eda36d5
·
verified ·
1 Parent(s): f932e1e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -28,7 +28,7 @@ def read_and_textify_advanced(files, chunk_size):
28
  if text:
29
  # Split text into chunks of approximately 'chunk_size' words
30
  words = text.split(".")
31
- for j in range(0, len(words), chuck_size):
32
  # Get the chunk of text from j-chunk_size to j+chunk_size
33
  # start = max(0, j - chunk_size)
34
  # end = min(len(words), j + chunk_size + 1)
 
28
  if text:
29
  # Split text into chunks of approximately 'chunk_size' words
30
  words = text.split(".")
31
+ for j in range(0, len(words), chunk_size):
32
  # Get the chunk of text from j-chunk_size to j+chunk_size
33
  # start = max(0, j - chunk_size)
34
  # end = min(len(words), j + chunk_size + 1)