Update app.py
Browse files
app.py
CHANGED
|
@@ -28,7 +28,7 @@ class BasicAgent:
|
|
| 28 |
print(f"Agent returning fixed answer: {fixed_answer}")
|
| 29 |
return fixed_answer
|
| 30 |
|
| 31 |
-
|
| 32 |
def run_and_submit_all(profile: gr.OAuthProfile | None):
|
| 33 |
"""
|
| 34 |
Fetches all questions, runs the BasicAgent on them, submits all answers.
|
|
|
|
| 28 |
print(f"Agent returning fixed answer: {fixed_answer}")
|
| 29 |
return fixed_answer
|
| 30 |
|
| 31 |
+
token = os.getenv("apitoken")
|
| 32 |
def run_and_submit_all(profile: gr.OAuthProfile | None):
|
| 33 |
"""
|
| 34 |
Fetches all questions, runs the BasicAgent on them, submits all answers.
|