tuan3335 commited on
Commit
8ec1b86
Β·
1 Parent(s): 085f277

πŸ› Fix function signature to accept session arg and avoid special args error

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -28,7 +28,7 @@ class BasicAgent:
28
  return fixed_answer
29
 
30
 
31
- def run_and_submit_all(profile: gr.OAuthProfile | None):
32
  """
33
  Fetches all questions, runs the BasicAgent on them, submits all answers,
34
  and displays the results.
 
28
  return fixed_answer
29
 
30
 
31
+ def run_and_submit_all(session=None):
32
  """
33
  Fetches all questions, runs the BasicAgent on them, submits all answers,
34
  and displays the results.