Update app.py
Browse files
app.py
CHANGED
|
@@ -35,7 +35,7 @@ class BasicAgent:
|
|
| 35 |
response = agent.run(question)
|
| 36 |
except Exception:
|
| 37 |
model = LiteLLMModel(
|
| 38 |
-
"
|
| 39 |
api_base="https://api.groq.com/openai/v1",
|
| 40 |
api_key=GROQ_KEY,
|
| 41 |
)
|
|
@@ -106,7 +106,7 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
|
|
| 106 |
for item in questions_data:
|
| 107 |
task_id = item.get("task_id")
|
| 108 |
question_text = item.get("question")
|
| 109 |
-
time.sleep(
|
| 110 |
if not task_id or question_text is None:
|
| 111 |
print(f"Skipping item with missing task_id or question: {item}")
|
| 112 |
continue
|
|
|
|
| 35 |
response = agent.run(question)
|
| 36 |
except Exception:
|
| 37 |
model = LiteLLMModel(
|
| 38 |
+
"meta-llama/llama-4-scout-17b-16e-instruct",
|
| 39 |
api_base="https://api.groq.com/openai/v1",
|
| 40 |
api_key=GROQ_KEY,
|
| 41 |
)
|
|
|
|
| 106 |
for item in questions_data:
|
| 107 |
task_id = item.get("task_id")
|
| 108 |
question_text = item.get("question")
|
| 109 |
+
time.sleep(60)
|
| 110 |
if not task_id or question_text is None:
|
| 111 |
print(f"Skipping item with missing task_id or question: {item}")
|
| 112 |
continue
|