Download tools/__init__.py from andrei-sferdian/Agents_Course_Final_Assignment: direct link, hf CLI and curl.
- Browser
- Download file 902 Bytes
-
https://huggingface.co/spaces/andrei-sferdian/Agents_Course_Final_Assignment/resolve/main/tools/__init__.py
- Command line
-
hf download hf://spaces/andrei-sferdian/Agents_Course_Final_Assignment/tools/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/andrei-sferdian/Agents_Course_Final_Assignment/resolve/main/tools/__init__.py
902 Bytes
| from tools.math import check_commutativity | |
| # from tools.vision import handle_image # Commented out as the module does not exist | |
| from .calculator import ( | |
| add, | |
| divide, | |
| floor_divide, | |
| modulus, | |
| multiply, | |
| power, | |
| subtract, | |
| ) | |
| from .execute_code import execute_python_code | |
| from .files import get_text_file, load_excel_file, sum_rows_cols | |
| from .food import categorize_foods | |
| from .get_youtube_transcript import GetYouTubeTranscript | |
| from .image import handle_image | |
| from .wikipedia import ( | |
| find_wiki_page, | |
| get_wiki_page_section_by_title, | |
| ) | |
| Tools = [ | |
| GetYouTubeTranscript, | |
| find_wiki_page, | |
| get_wiki_page_section_by_title, | |
| load_excel_file, | |
| get_text_file, | |
| add, | |
| subtract, | |
| multiply, | |
| divide, | |
| power, | |
| modulus, | |
| floor_divide, | |
| execute_python_code, | |
| sum_rows_cols, | |
| check_commutativity, | |
| categorize_foods, | |
| handle_image, | |
| ] | |