Update app.py
Browse files
app.py
CHANGED
|
@@ -36,7 +36,7 @@ class BasicAgent:
|
|
| 36 |
if not api_key:
|
| 37 |
raise ValueError("OPENAI_API_KEY not set in environment variables!")
|
| 38 |
model = LiteLLMModel(
|
| 39 |
-
model_id="gpt-
|
| 40 |
api_key=api_key
|
| 41 |
)
|
| 42 |
|
|
@@ -169,7 +169,7 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
|
|
| 169 |
"Submitted Answer": f"AGENT ERROR: {e}",
|
| 170 |
"Files": local_files
|
| 171 |
})
|
| 172 |
-
time.sleep(
|
| 173 |
|
| 174 |
if not answers_payload:
|
| 175 |
print("Agent did not produce any answers to submit.")
|
|
|
|
| 36 |
if not api_key:
|
| 37 |
raise ValueError("OPENAI_API_KEY not set in environment variables!")
|
| 38 |
model = LiteLLMModel(
|
| 39 |
+
model_id="gpt-3.5-turbo-instruct",
|
| 40 |
api_key=api_key
|
| 41 |
)
|
| 42 |
|
|
|
|
| 169 |
"Submitted Answer": f"AGENT ERROR: {e}",
|
| 170 |
"Files": local_files
|
| 171 |
})
|
| 172 |
+
time.sleep(10)
|
| 173 |
|
| 174 |
if not answers_payload:
|
| 175 |
print("Agent did not produce any answers to submit.")
|