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