Koshti10 commited on
Commit
acd4a3d
·
verified ·
1 Parent(s): b913cc0

Update driveapi/drive.py

Browse files
Files changed (1) hide show
  1. driveapi/drive.py +1 -1
driveapi/drive.py CHANGED
@@ -51,7 +51,7 @@ def download_file(file_id):
51
  # Function to process a PDF file
52
  def process_pdf(file_stream):
53
  print(f"File stream is of type: {type(file_stream)}")
54
- print(f"File stream is : {file_stream")
55
  file_path = file_stream['name'] # Use 'path' for local testing and 'name' for Gradio
56
  pdf_reader = PyPDF2.PdfReader(file_path)
57
  text = ""
 
51
  # Function to process a PDF file
52
  def process_pdf(file_stream):
53
  print(f"File stream is of type: {type(file_stream)}")
54
+ print(f"File stream is : {file_stream}")
55
  file_path = file_stream['name'] # Use 'path' for local testing and 'name' for Gradio
56
  pdf_reader = PyPDF2.PdfReader(file_path)
57
  text = ""