|
Download README.md from LonghaoWang/Final_Assignment_Template: direct link, hf CLI and curl.
- Browser
- Download file 1.09 kB
-
https://huggingface.co/spaces/LonghaoWang/Final_Assignment_Template/resolve/main/README.md
- Command line
-
hf download hf://spaces/LonghaoWang/Final_Assignment_Template/README.md
-
curl -L -o README.md https://huggingface.co/spaces/LonghaoWang/Final_Assignment_Template/resolve/main/README.md
1.09 kB
| 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`. | |