devve1 commited on
Commit
33e94b3
1 Parent(s): 0c73db6

Update ppt_chunker.py

Browse files
Files changed (1) hide show
  1. ppt_chunker.py +1 -1
ppt_chunker.py CHANGED
@@ -94,7 +94,7 @@ def ppt_chunk(file_like, nlp):
94
  only_tables = True
95
  title = ''
96
 
97
- for i, sub_chunk in enumerate(chunk[1]):
98
  print(f'TEST : {sub_chunk}')
99
  if (i == 0) and ((sub_chunk[0] == 'Title') or (sub_chunk[0] == 'UncategorizedText')):
100
  title = sub_chunk[1]
 
94
  only_tables = True
95
  title = ''
96
 
97
+ for i, sub_chunk in enumerate(chunks[j][1]):
98
  print(f'TEST : {sub_chunk}')
99
  if (i == 0) and ((sub_chunk[0] == 'Title') or (sub_chunk[0] == 'UncategorizedText')):
100
  title = sub_chunk[1]