bstraehle commited on
Commit
c71216f
·
verified ·
1 Parent(s): 9be817f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -7
app.py CHANGED
@@ -3,8 +3,6 @@ import gradio as gr
3
  from crew import run_crew
4
  from utils import get_questions
5
 
6
- QUESTION_FILE_PATH = "data/gaia_validation.jsonl"
7
-
8
  def _run(question, openai_api_key, gemini_api_key, file_name = ""):
9
  """
10
  Run GAIA General AI Assistant to answer a question.
@@ -95,16 +93,13 @@ with gr.Blocks() as gaia:
95
  interactive=False
96
  )
97
 
98
- #clear_btn.click(
99
- # fn=lambda: "",
100
- # outputs=answer
101
- #)
102
-
103
  submit_btn.click(
104
  fn=_run,
105
  inputs=[question, openai_api_key, gemini_api_key, file_name],
106
  outputs=answer
107
  )
 
 
108
 
109
  gr.Examples(
110
  label="Level 1",
 
3
  from crew import run_crew
4
  from utils import get_questions
5
 
 
 
6
  def _run(question, openai_api_key, gemini_api_key, file_name = ""):
7
  """
8
  Run GAIA General AI Assistant to answer a question.
 
93
  interactive=False
94
  )
95
 
 
 
 
 
 
96
  submit_btn.click(
97
  fn=_run,
98
  inputs=[question, openai_api_key, gemini_api_key, file_name],
99
  outputs=answer
100
  )
101
+
102
+ QUESTION_FILE_PATH = "data/gaia_validation.jsonl"
103
 
104
  gr.Examples(
105
  label="Level 1",