Update rag.py
Browse files
rag.py
CHANGED
@@ -20,8 +20,8 @@ class Rag:
|
|
20 |
print(f"Querying Gemini for query={query}, imagePaths={imagePaths}")
|
21 |
|
22 |
try:
|
23 |
-
genai.configure(api_key="
|
24 |
-
model = genai.GenerativeModel('gemini-2.5-
|
25 |
|
26 |
images = [Image.open(path) for path in imagePaths]
|
27 |
|
|
|
20 |
print(f"Querying Gemini for query={query}, imagePaths={imagePaths}")
|
21 |
|
22 |
try:
|
23 |
+
genai.configure(api_key="AIzaSyBF-MJKxRROIr-X6YiG1_8uOHrFZDX3IBI")
|
24 |
+
model = genai.GenerativeModel('gemini-2.5-flash')
|
25 |
|
26 |
images = [Image.open(path) for path in imagePaths]
|
27 |
|