not-lain commited on
Commit
c13df89
·
1 Parent(s): ba611cd

minor change

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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
- return "\n\n".join(text_content)
 
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"