honeyangelhp commited on
Commit
36d272d
·
verified ·
1 Parent(s): 08a9d8a

Update convert.py

Browse files
Files changed (1) hide show
  1. convert.py +0 -9
convert.py CHANGED
@@ -2,15 +2,6 @@ import fitz # PyMuPDF
2
  import streamlit as st
3
 
4
  def ExtractPDFText(pdf):
5
- """
6
- Extracts text from a PDF file uploaded through Streamlit.
7
-
8
- Args:
9
- pdf: Uploaded PDF file (Streamlit file uploader object).
10
-
11
- Returns:
12
- Extracted text content as a string.
13
- """
14
  content = ""
15
  try:
16
  # Open the PDF using PyMuPDF from uploaded bytes
 
2
  import streamlit as st
3
 
4
  def ExtractPDFText(pdf):
 
 
 
 
 
 
 
 
 
5
  content = ""
6
  try:
7
  # Open the PDF using PyMuPDF from uploaded bytes