adding async def
Browse files
app.py
CHANGED
@@ -185,7 +185,7 @@ class BasicAgent:
|
|
185 |
return response_text.split('</think>')[-1]
|
186 |
|
187 |
|
188 |
-
def run_and_submit_all( profile: gr.OAuthProfile | None):
|
189 |
"""
|
190 |
Fetches all questions, runs the BasicAgent on them, submits all answers,
|
191 |
and displays the results.
|
|
|
185 |
return response_text.split('</think>')[-1]
|
186 |
|
187 |
|
188 |
+
async def run_and_submit_all( profile: gr.OAuthProfile | None):
|
189 |
"""
|
190 |
Fetches all questions, runs the BasicAgent on them, submits all answers,
|
191 |
and displays the results.
|