Spaces:
Sleeping
Sleeping
Download scripts/run_smoke.py from TheJN/Final_Assignment_Template: direct link, hf CLI and curl.
- Browser
- Download file 300 Bytes
-
https://huggingface.co/spaces/TheJN/Final_Assignment_Template/resolve/main/scripts/run_smoke.py
- Command line
-
hf download hf://spaces/TheJN/Final_Assignment_Template/scripts/run_smoke.py
-
curl -L -o run_smoke.py https://huggingface.co/spaces/TheJN/Final_Assignment_Template/resolve/main/scripts/run_smoke.py
300 Bytes
| from gaia_agent import GaiaAgent | |
| QUESTIONS = [ | |
| "What is the capital of France?", | |
| "Return the word test.", | |
| ] | |
| def main() -> None: | |
| agent = GaiaAgent() | |
| for question in QUESTIONS: | |
| print({"question": question, "answer": agent(question)}) | |
| if __name__ == "__main__": | |
| main() | |