Update app.py
Browse files
app.py
CHANGED
|
@@ -7,13 +7,6 @@ import gradio as gr
|
|
| 7 |
from agents.crew import run_crew
|
| 8 |
from utils.utils import get_questions
|
| 9 |
|
| 10 |
-
# Initialization
|
| 11 |
-
|
| 12 |
-
QUESTION_FILE_PATH_GAIA = "files/gaia_validation.jsonl"
|
| 13 |
-
QUESTION_FILE_PATH_HLE = "files/hle_validation.jsonl"
|
| 14 |
-
|
| 15 |
-
DEFAULT_QUESTION = "In MCP's 1st Birthday Hackathon, hosted by Anthropic and Gradio, what percentage of participants submitted a solution so far?"
|
| 16 |
-
|
| 17 |
# MCP server functions
|
| 18 |
|
| 19 |
def ask(question, openai_api_key, gemini_api_key, anthropic_api_key, file_name = ""):
|
|
@@ -74,6 +67,11 @@ def update_file_link(file_name):
|
|
| 74 |
|
| 75 |
# Graphical user interface
|
| 76 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 77 |
CSS_FULL_WIDTH = """
|
| 78 |
body {
|
| 79 |
margin: 0 !important;
|
|
|
|
| 7 |
from agents.crew import run_crew
|
| 8 |
from utils.utils import get_questions
|
| 9 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
# MCP server functions
|
| 11 |
|
| 12 |
def ask(question, openai_api_key, gemini_api_key, anthropic_api_key, file_name = ""):
|
|
|
|
| 67 |
|
| 68 |
# Graphical user interface
|
| 69 |
|
| 70 |
+
QUESTION_FILE_PATH_GAIA = "files/gaia_validation.jsonl"
|
| 71 |
+
QUESTION_FILE_PATH_HLE = "files/hle_validation.jsonl"
|
| 72 |
+
|
| 73 |
+
DEFAULT_QUESTION = "In MCP's 1st Birthday Hackathon, hosted by Anthropic and Gradio, what percentage of participants submitted a solution so far?"
|
| 74 |
+
|
| 75 |
CSS_FULL_WIDTH = """
|
| 76 |
body {
|
| 77 |
margin: 0 !important;
|