Spaces:
Running
on
T4
Running
on
T4
Update ppt_chunker.py
Browse files- ppt_chunker.py +2 -0
ppt_chunker.py
CHANGED
@@ -153,6 +153,8 @@ def ppt_chunk(file_like, nlp):
|
|
153 |
if not condition_met:
|
154 |
cleaned_titles_chunk = "\n".join([c[1].lower() for c in chunk[1] if type(c) is list])
|
155 |
weakDict.insert(chunk[0], cleaned_titles_chunk, metadata_main_title, metadata_sub_title)
|
|
|
|
|
156 |
|
157 |
return weakDict, tables
|
158 |
|
|
|
153 |
if not condition_met:
|
154 |
cleaned_titles_chunk = "\n".join([c[1].lower() for c in chunk[1] if type(c) is list])
|
155 |
weakDict.insert(chunk[0], cleaned_titles_chunk, metadata_main_title, metadata_sub_title)
|
156 |
+
print(metadata_main_title)
|
157 |
+
print(metadata_sub_title)
|
158 |
|
159 |
return weakDict, tables
|
160 |
|