DIVYANSHI SINGH commited on
Commit ·
b4e3733
1
Parent(s): 29bea89
fix: Reverted to Gemini 1.5 Flash to resolve quota limits
Browse files- apds/rag_utils.py +1 -1
apds/rag_utils.py
CHANGED
|
@@ -52,7 +52,7 @@ def get_ai_consultant():
|
|
| 52 |
return None
|
| 53 |
|
| 54 |
genai.configure(api_key=api_key)
|
| 55 |
-
return ChatGoogleGenerativeAI(model="gemini-
|
| 56 |
|
| 57 |
def generate_expert_report(detection_summary: str) -> str:
|
| 58 |
"""
|
|
|
|
| 52 |
return None
|
| 53 |
|
| 54 |
genai.configure(api_key=api_key)
|
| 55 |
+
return ChatGoogleGenerativeAI(model="gemini-1.5-flash", google_api_key=api_key)
|
| 56 |
|
| 57 |
def generate_expert_report(detection_summary: str) -> str:
|
| 58 |
"""
|