bstraehle commited on
Commit
d50acc2
·
verified ·
1 Parent(s): 9cf3437

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -6,7 +6,7 @@ from utils import get_questions
6
  QUESTION_FILE_PATH = "data/gaia_validation.jsonl"
7
  QUESTION_LEVEL = 1
8
 
9
- def _run_gaia(question, openai_api_key, gemini_api_key, file_name = ""):
10
  """
11
  Run General AI Assistant aka GAIA to answer a question.
12
 
@@ -111,7 +111,7 @@ with gr.Blocks() as gaia:
111
  )
112
 
113
  submit_btn.click(
114
- fn=_run_gaia,
115
  inputs=[question, openai_api_key, gemini_api_key, file_name],
116
  outputs=answer
117
  )
 
6
  QUESTION_FILE_PATH = "data/gaia_validation.jsonl"
7
  QUESTION_LEVEL = 1
8
 
9
+ def _run(question, openai_api_key, gemini_api_key, file_name = ""):
10
  """
11
  Run General AI Assistant aka GAIA to answer a question.
12
 
 
111
  )
112
 
113
  submit_btn.click(
114
+ fn=_run,
115
  inputs=[question, openai_api_key, gemini_api_key, file_name],
116
  outputs=answer
117
  )