Spaces:
Paused
Paused
Update util.py
Browse files
util.py
CHANGED
|
@@ -69,7 +69,7 @@ def get_final_answer(model, question, answer):
|
|
| 69 |
# messages=[{"role": "user", "content": [{"type": "text", "text": prompt_template}]}]
|
| 70 |
#)
|
| 71 |
|
| 72 |
-
client = genai.Client(api_key=os.environ["
|
| 73 |
|
| 74 |
response = client.models.generate_content(
|
| 75 |
model=model,
|
|
|
|
| 69 |
# messages=[{"role": "user", "content": [{"type": "text", "text": prompt_template}]}]
|
| 70 |
#)
|
| 71 |
|
| 72 |
+
client = genai.Client(api_key=os.environ["GEMINI_API_KEY"])
|
| 73 |
|
| 74 |
response = client.models.generate_content(
|
| 75 |
model=model,
|