minor change
Browse files
app.py
CHANGED
@@ -240,7 +240,8 @@ def extract_text_from_ppt(file_path):
|
|
240 |
# Remove the converted PPTX file
|
241 |
os.remove(pptx_file_path)
|
242 |
|
243 |
-
|
|
|
244 |
except Exception as e:
|
245 |
print(f"Error extracting text from PPT file: {e}")
|
246 |
return "Error extracting text from PPT file"
|
|
|
240 |
# Remove the converted PPTX file
|
241 |
os.remove(pptx_file_path)
|
242 |
|
243 |
+
out = "\n\n".join(text_content)
|
244 |
+
return out
|
245 |
except Exception as e:
|
246 |
print(f"Error extracting text from PPT file: {e}")
|
247 |
return "Error extracting text from PPT file"
|