Spaces:
Sleeping
Sleeping
Update utils.py
Browse files
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
|
| 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 |
"""
|