Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -72,7 +72,7 @@ def extract_text_from_docx(docx_data, clean=True):
|
|
| 72 |
def extract_text_from_pptx(pptx_data, clean=True):
|
| 73 |
"""Extracts text from PPT files."""
|
| 74 |
text = u''
|
| 75 |
-
zipf = zipfile.ZipFile(io.BytesIO(
|
| 76 |
|
| 77 |
filelist = zipf.namelist()
|
| 78 |
|
|
|
|
| 72 |
def extract_text_from_pptx(pptx_data, clean=True):
|
| 73 |
"""Extracts text from PPT files."""
|
| 74 |
text = u''
|
| 75 |
+
zipf = zipfile.ZipFile(io.BytesIO(pptx_data))
|
| 76 |
|
| 77 |
filelist = zipf.namelist()
|
| 78 |
|