danielkorat commited on
Commit
7020a82
·
verified ·
1 Parent(s): e65ec6e

Update my_tools.py

Browse files
Files changed (1) hide show
  1. my_tools.py +2 -0
my_tools.py CHANGED
@@ -1,5 +1,7 @@
1
  from smolagents import tool
2
  from typing import Optional
 
 
3
 
4
  @tool
5
  def get_weather(location: str, celsius: Optional[bool] = False) -> str:
 
1
  from smolagents import tool
2
  from typing import Optional
3
+ import requests
4
+ import pytz
5
 
6
  @tool
7
  def get_weather(location: str, celsius: Optional[bool] = False) -> str: