Spaces:
Running
Running
Upload folder using huggingface_hub
Browse files- README.md +12 -4
- index.html +5 -19
README.md
CHANGED
|
@@ -1,10 +1,18 @@
|
|
| 1 |
---
|
| 2 |
-
title: Final Assignment
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
colorTo: indigo
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
---
|
| 9 |
|
| 10 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: GAIA Agent - Final Assignment
|
| 3 |
+
emoji: π΅π»ββοΈ
|
| 4 |
+
colorFrom: indigo
|
| 5 |
colorTo: indigo
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
---
|
| 9 |
|
| 10 |
+
# GAIA Agent β HF Agents Course Unit 4
|
| 11 |
+
|
| 12 |
+
smolagents `CodeAgent` + Claude (via LiteLLM) for the Unit 4 final assignment (GAIA level-1 subset).
|
| 13 |
+
|
| 14 |
+
- `agent.py` β the agent and its tools (web search, webpage reader, Wikipedia, YouTube transcript, vision, Whisper audio transcription, Excel/text readers)
|
| 15 |
+
- `run_local.py` β runs the agent on all questions, caches answers, submits to the scoring API
|
| 16 |
+
- `app.py` β Gradio runner based on the course template (needs a Gradio-capable Space to run)
|
| 17 |
+
|
| 18 |
+
This Space is static (Gradio Spaces on free CPU require PRO), so the agent was run locally with `run_local.py`.
|
index.html
CHANGED
|
@@ -1,19 +1,5 @@
|
|
| 1 |
-
<!doctype html>
|
| 2 |
-
<
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
<title>My static Space</title>
|
| 7 |
-
<link rel="stylesheet" href="style.css" />
|
| 8 |
-
</head>
|
| 9 |
-
<body>
|
| 10 |
-
<div class="card">
|
| 11 |
-
<h1>Welcome to your static Space!</h1>
|
| 12 |
-
<p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
|
| 13 |
-
<p>
|
| 14 |
-
Also don't forget to check the
|
| 15 |
-
<a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
|
| 16 |
-
</p>
|
| 17 |
-
</div>
|
| 18 |
-
</body>
|
| 19 |
-
</html>
|
|
|
|
| 1 |
+
<!doctype html><html><head><meta charset="utf-8"><title>GAIA Agent</title></head>
|
| 2 |
+
<body style="font-family:sans-serif;max-width:720px;margin:40px auto;padding:0 16px">
|
| 3 |
+
<h1>GAIA Agent β HF Agents Course Unit 4</h1>
|
| 4 |
+
<p>smolagents CodeAgent + Claude. See the <a href="https://huggingface.co/spaces/2tyoon/Final_Assignment_Agent/tree/main" target="_blank">source files</a>.</p>
|
| 5 |
+
</body></html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|