Spaces:
Configuration error
Configuration error
Update util.py
Browse files
util.py
CHANGED
|
@@ -61,7 +61,7 @@ def get_final_answer(model, question, answer):
|
|
| 61 |
|
| 62 |
"""
|
| 63 |
|
| 64 |
-
|
| 65 |
|
| 66 |
completion = client.chat.completions.create(
|
| 67 |
model=model,
|
|
|
|
| 61 |
|
| 62 |
"""
|
| 63 |
|
| 64 |
+
client = OpenAI()
|
| 65 |
|
| 66 |
completion = client.chat.completions.create(
|
| 67 |
model=model,
|