Spaces:
Runtime error
Runtime error
Merge branch 'main' of https://huggingface.co/spaces/Rivalcoder/Issurance_Agent_Rag
Browse files
llm.py
CHANGED
|
@@ -56,7 +56,7 @@ Respond in the exact JSON format below — no extra text or explanations.
|
|
| 56 |
Your task: Answer each question concisely and professionally. Use plain phrasing, stay within 1–2 clear sentences, and avoid unnecessary detail or repetition.
|
| 57 |
"""
|
| 58 |
|
| 59 |
-
model = genai.GenerativeModel('gemini-2.5-flash')
|
| 60 |
response = model.generate_content(prompt)
|
| 61 |
response_text = response.text.strip()
|
| 62 |
try:
|
|
|
|
| 56 |
Your task: Answer each question concisely and professionally. Use plain phrasing, stay within 1–2 clear sentences, and avoid unnecessary detail or repetition.
|
| 57 |
"""
|
| 58 |
|
| 59 |
+
model = genai.GenerativeModel('gemini-2.5-flash-lite')
|
| 60 |
response = model.generate_content(prompt)
|
| 61 |
response_text = response.text.strip()
|
| 62 |
try:
|