Omnitopia commited on
Commit
21b946a
·
verified ·
1 Parent(s): 00f6755

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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-4.1-nano (long context)",
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(7)
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.")