Nechba commited on
Commit
61b4ccb
·
verified ·
1 Parent(s): c3317ef

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +1 -1
utils.py CHANGED
@@ -111,7 +111,7 @@ def analyze_pdf_images_with_gemini(pdf_bytes):
111
  # Send both the prompt and image to Gemini
112
  response = model.generate_content(contents)
113
 
114
- return response.text
115
 
116
  def process_local_pdf(pdf_bytes: bytes):
117
  """
 
111
  # Send both the prompt and image to Gemini
112
  response = model.generate_content(contents)
113
 
114
+ return response
115
 
116
  def process_local_pdf(pdf_bytes: bytes):
117
  """