Spaces:
Running
on
T4
Running
on
T4
Update ppt_chunker.py
Browse files- ppt_chunker.py +2 -2
ppt_chunker.py
CHANGED
@@ -162,8 +162,8 @@ def ppt_chunk(file_like, nlp):
|
|
162 |
break
|
163 |
|
164 |
|
165 |
-
|
166 |
-
|
167 |
|
168 |
|
169 |
|
|
|
162 |
break
|
163 |
|
164 |
|
165 |
+
if i == len(chunk) - 1:
|
166 |
+
weakDict.insert(chunk[0], "\n".join([c[1] for c in chunk[1]]))
|
167 |
|
168 |
|
169 |
|