Spaces:
Starting
on
T4
Starting
on
T4
Update ppt_chunker.py
Browse files- ppt_chunker.py +3 -0
ppt_chunker.py
CHANGED
@@ -143,6 +143,9 @@ def ppt_chunk(file_like, nlp):
|
|
143 |
|
144 |
if i == len(chunk) - 1:
|
145 |
weakDict.insert(chunk[0], "\n".join([c[1] for c in chunk[1]]), metadata_main_title, metadata_sub_title)
|
|
|
|
|
|
|
146 |
|
147 |
et = time.time()
|
148 |
ft = et - s
|
|
|
143 |
|
144 |
if i == len(chunk) - 1:
|
145 |
weakDict.insert(chunk[0], "\n".join([c[1] for c in chunk[1]]), metadata_main_title, metadata_sub_title)
|
146 |
+
|
147 |
+
for w in weakDict.all_texts():
|
148 |
+
print(f'AFTER : {w}')
|
149 |
|
150 |
et = time.time()
|
151 |
ft = et - s
|