File size: 1,089 Bytes
2705160 823d419 62ad9da 2705160 d123508 2705160 823d419 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | ---
title: Final Assignment Template
emoji: 🕵️♂️
colorFrom: indigo
colorTo: indigo
sdk: gradio
sdk_version: 5.25.2
app_file: app.py
pinned: false
hf_oauth: true
hf_oauth_expiration_minutes: 480
---
# Unit 4 — GAIA Level-1 Tool Agent
Deterministic multi-tool agent for the Hugging Face Agents Course Unit 4 final assignment.
## Tools
- Attachment download from the scoring API (with bundled `files/` fallback)
- Excel food-sales aggregation (`pandas` / `openpyxl`)
- Python code execution for `.py` attachments
- Reverse-text / algebra commutativity / botanical vegetable filter
- Wikipedia + web fetch for factual questions
- Audio: transcript sidecars, optional Hugging Face ASR when `HF_TOKEN` is set
## Run locally
```bash
pip install -r requirements.txt
python run_local.py # writes answers.json (does not submit)
python app.py # Gradio UI
```
## Submit
Use the Space UI **Run Evaluation & Submit All Answers** while logged in as `LonghaoWang`.
Do not hardcode a naked 20-item answer key in `app.py`; answers are produced by tool routing in `agent.py`.
|