Commit
·
928e67a
1
Parent(s):
4760eaa
Fix syntax error in compare_runs function
Browse files- Separate comment and code on line 408
- Fix "name 'dataset' is not defined" error caused by improper line break
- mcp_tools.py +3 -1
mcp_tools.py
CHANGED
|
@@ -405,7 +405,9 @@ async def compare_runs(
|
|
| 405 |
try:
|
| 406 |
# Initialize Gemini client with provided key or from environment
|
| 407 |
gemini_client = GeminiClient()
|
| 408 |
-
|
|
|
|
|
|
|
| 409 |
df = pd.DataFrame(dataset)
|
| 410 |
|
| 411 |
# Find the two runs
|
|
|
|
| 405 |
try:
|
| 406 |
# Initialize Gemini client with provided key or from environment
|
| 407 |
gemini_client = GeminiClient()
|
| 408 |
+
|
| 409 |
+
# Load leaderboard data
|
| 410 |
+
dataset = load_dataset(leaderboard_repo, split="train")
|
| 411 |
df = pd.DataFrame(dataset)
|
| 412 |
|
| 413 |
# Find the two runs
|