Spaces:
Running
Running
Update utils.py
Browse files
utils.py
CHANGED
@@ -13,9 +13,9 @@ from PIL import Image
|
|
13 |
import fitz # PyMuPDF
|
14 |
from PIL import Image
|
15 |
|
16 |
-
def configure_gemini(api_key: str):
|
17 |
-
|
18 |
-
|
19 |
|
20 |
# def pdf_to_images(pdf_bytes: bytes) -> list:
|
21 |
# """Convert PDF bytes to list of PIL Images"""
|
|
|
13 |
import fitz # PyMuPDF
|
14 |
from PIL import Image
|
15 |
|
16 |
+
# def configure_gemini(api_key: str):
|
17 |
+
# """Configure Gemini API with the provided key"""
|
18 |
+
# genai.configure(api_key=api_key)
|
19 |
|
20 |
# def pdf_to_images(pdf_bytes: bytes) -> list:
|
21 |
# """Convert PDF bytes to list of PIL Images"""
|