Update ppt_chunker.py
Browse files- 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(
|
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]
|