Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -14,7 +14,7 @@ import cv2
|
|
| 14 |
import numpy as np
|
| 15 |
from concurrent.futures import ThreadPoolExecutor, as_completed
|
| 16 |
from PyPDF2 import PdfReader, PdfWriter
|
| 17 |
-
|
| 18 |
# ---------------- CONFIG ----------------
|
| 19 |
genai.configure(api_key=os.getenv("GEMINI_API_KEY"))
|
| 20 |
GRID_ROWS, GRID_COLS = 20, 14
|
|
|
|
| 14 |
import numpy as np
|
| 15 |
from concurrent.futures import ThreadPoolExecutor, as_completed
|
| 16 |
from PyPDF2 import PdfReader, PdfWriter
|
| 17 |
+
from google.ai.generativelanguage import types
|
| 18 |
# ---------------- CONFIG ----------------
|
| 19 |
genai.configure(api_key=os.getenv("GEMINI_API_KEY"))
|
| 20 |
GRID_ROWS, GRID_COLS = 20, 14
|