hanshan1988 commited on
Commit
e0262f4
·
verified ·
1 Parent(s): 4037072

adding async def

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.